diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-support/libssh2/files/run-ptest')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-support/libssh2/files/run-ptest | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-openembedded/meta-oe/recipes-support/libssh2/files/run-ptest b/meta-openembedded/meta-oe/recipes-support/libssh2/files/run-ptest index 2a7922f1a..c213b32e5 100644 --- a/meta-openembedded/meta-oe/recipes-support/libssh2/files/run-ptest +++ b/meta-openembedded/meta-oe/recipes-support/libssh2/files/run-ptest @@ -1,7 +1,8 @@ #!/bin/sh ptestdir=$(dirname "$(readlink -f "$0")") -for test in $(ls $ptestdir/tests) +cd tests +for test in $(ls) do - ./test-driver --test-name $test --log-file $test.log --trs-file $test.trs --color-tests no --enable-hard-errors yes --expect-failure no -- ./tests/$test + ./../test-driver --test-name $test --log-file ../$test.log --trs-file ../$test.trs --color-tests no --enable-hard-errors yes --expect-failure no -- ./$test done |