summaryrefslogtreecommitdiffstats
path: root/test/run_dmenu_normal_window_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_dmenu_normal_window_test.sh')
-rwxr-xr-xtest/run_dmenu_normal_window_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_dmenu_normal_window_test.sh b/test/run_dmenu_normal_window_test.sh
index 6f36dc16..72e37aad 100755
--- a/test/run_dmenu_normal_window_test.sh
+++ b/test/run_dmenu_normal_window_test.sh
@@ -24,7 +24,7 @@ then
echo "thread apply all bt" | gdb rofi core.*
fi
-OUTPUT=$(cat output.txt | tr '\n' ' ')
+OUTPUT=$( tr '\n' ' ' < output.txt )
if [ "${OUTPUT}" != 'noot mies ' ]
then
echo "Got: '${OUTPUT}' expected 'noot mies '"