Skip to content

Commit

Permalink
Put expected output in the diff LHS.
Browse files Browse the repository at this point in the history
  • Loading branch information
kr committed Nov 14, 2008
1 parent 3f71004 commit 2d4b7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell_tests/run_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2d4b7e8

Please sign in to comment.