From 2d4b7e808bfc52dd235d0a17eed9a7704925d380 Mon Sep 17 00:00:00 2001 From: Keith Rarick Date: Fri, 14 Nov 2008 01:53:28 -0800 Subject: [PATCH] Put expected output in the diff LHS. --- shell_tests/run_one.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_tests/run_one.sh b/shell_tests/run_one.sh index a868937..49285cd 100755 --- a/shell_tests/run_one.sh +++ b/shell_tests/run_one.sh @@ -20,7 +20,7 @@ clean_exit() { fgrep -v "#" $1 | nc -q 1 $SERVER $PORT > .tmp_test # diff is "false" if they match -if diff .tmp_test $2; then +if diff $2 .tmp_test; then clean_exit $bg 0 2>/dev/null fi -- 2.11.4.GIT