parent
6a5c0b3d0d
commit
58a3f75d05
|
@ -24,6 +24,8 @@ source spec
|
|||
declare -r tcase="${1?Missing test case path}"
|
||||
|
||||
_begin-spec
|
||||
source "$tcase" || exit $?
|
||||
cd "$( dirname "$tcase" )" \
|
||||
&& source "$tcase" \
|
||||
|| exit $?
|
||||
_end-spec
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
# This will take an arbitrary script from stdin and execute it
|
||||
test-run()
|
||||
{
|
||||
../src/run-spec <( cat )
|
||||
( cd ../src && ./run-spec <( cat ) )
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue