rofi/test/xr_config_test.sh

14 lines
237 B
Bash
Raw Normal View History

2016-01-03 17:13:41 +00:00
#!/usr/bin/env bash
TOP_DIR=$1
rofi -dump-xresources -config ${TOP_DIR}/doc/test_xr.txt > temp.txt
if ! diff temp.txt ${TOP_DIR}/doc/test_xr.txt > /dev/null
then
echo "Dump xresources does not match."
exit 1;
fi
exit ${RETV}