From e2bc201228b5cc4e592f33e6656c9d05f7af3311 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sun, 30 Aug 2015 22:18:54 -0400 Subject: [PATCH] sh test/run or sh ./test/run, neither should cause a spurious regression failure --- c/test/run | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/c/test/run b/c/test/run index ba449fcd2..5f74331fb 100755 --- a/c/test/run +++ b/c/test/run @@ -1,11 +1,5 @@ #!/bin/sh -# ================================================================ -# Note: this is invoked from the Makefile as "./test/run". -# If you invoke it as "test/run" or "sh test/run" then it will -# produce diff errors. -# ================================================================ - # NEEDING COVERAGE: # group-like # head @@ -20,10 +14,13 @@ set -e verb=$0 +# Note: this is invoked from the Makefile as "./test/run". Without this, f you +# invoke it as "test/run" or "sh test/run" then it will produce diff errors. if [ "$verb" = "test/run" ]; then verb=./test/run fi ourdir=`dirname $verb` + mlr=$ourdir/../mlr indir=$ourdir/input expdir=$ourdir/expected