summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-10-31 19:29:27 +0100
committerDave Davenport <qball@gmpclient.org>2017-10-31 19:29:27 +0100
commitba0acd625fecfb2aa823a748b295655e3a664ce0 (patch)
tree031ab1294008338aed07655ba5e593deb59405f9 /test
parent316de7ebeb1c9b810ba797a626d1d9364a47b4b6 (diff)
Remove leading # from dump theme and add mesg about rofi dumping it
Diffstat (limited to 'test')
-rwxr-xr-xtest/convert_old_theme_test.sh2
-rwxr-xr-xtest/default_theme_test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/convert_old_theme_test.sh b/test/convert_old_theme_test.sh
index 75fc392b..52bbc6a7 100755
--- a/test/convert_old_theme_test.sh
+++ b/test/convert_old_theme_test.sh
@@ -3,7 +3,7 @@
TOP_DIR=$1
xrdb -retain -load ${TOP_DIR}/doc/old-theme-convert-input.theme
-rofi -config ${TOP_DIR}/doc/old-theme-convert-input.theme -dump-theme > temp.txt
+rofi -config ${TOP_DIR}/doc/old-theme-convert-input.theme -dump-theme | grep -v "Rofi version" > temp.txt
if ! diff temp.txt ${TOP_DIR}/doc/old-theme-convert-output.rasi > /dev/null
then
diff --git a/test/default_theme_test.sh b/test/default_theme_test.sh
index 8baa66c9..7e497686 100755
--- a/test/default_theme_test.sh
+++ b/test/default_theme_test.sh
@@ -2,7 +2,7 @@
TOP_DIR=$1
-rofi -no-config -dump-theme > temp.txt
+rofi -no-config -dump-theme | grep -v "Rofi version" > temp.txt
if ! diff temp.txt ${TOP_DIR}/doc/default_theme.rasi > /dev/null
then