rofi/test/xr_dump_test.sh

13 lines
220 B
Bash
Raw Normal View History

2015-12-31 21:45:36 +00:00
#!/usr/bin/env bash
xrdb -retain -load ../doc/test_xr.txt
rofi -dump-xresources > temp.txt
if ! diff temp.txt ../doc/test_xr.txt > /dev/null
then
echo "Dump xresources does not match."
exit 1;
fi
exit ${RETV}