1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
rofi/test/xr_dump_test.sh
Dave Davenport e102e11637 Update test
2015-12-31 23:02:13 +01:00

14 lines
248 B
Bash
Executable file

#!/usr/bin/env bash
TOP_DIR=$1
xrdb -retain -load ${TOP_DIR}/doc/test_xr.txt
rofi -dump-xresources > 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}