diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-12-31 22:45:36 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-12-31 22:45:36 +0100 |
commit | c5258f9b51f605e9355bdf80b77714aa8f56b168 (patch) | |
tree | b479944772f9055858877c5391d391c6c82cbb40 /test | |
parent | 50ad99f550362196ade4bbb9537a35b88d97932b (diff) |
Add dump test.
Diffstat (limited to 'test')
-rwxr-xr-x | test/xr_dump_test.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/xr_dump_test.sh b/test/xr_dump_test.sh new file mode 100755 index 00000000..990a82c3 --- /dev/null +++ b/test/xr_dump_test.sh @@ -0,0 +1,12 @@ +#!/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} |