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