1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00
rofi/test/xr_config_test.sh
2016-01-03 18:13:41 +01:00

13 lines
237 B
Bash
Executable file

#!/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}