mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-30 03:01:39 +00:00
sh test/run or sh ./test/run, neither should cause a spurious regression failure
This commit is contained in:
parent
a354fd8175
commit
e2bc201228
1 changed files with 3 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue