]> sourceware.org Git - lvm2.git/commitdiff
tests: run api tests from startup dir
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 May 2015 13:01:33 +0000 (15:01 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 May 2015 13:07:59 +0000 (15:07 +0200)
test/lib/aux.sh

index 329c08627b239fee72fbf9cb521ffc0ab2b269c6..ae152358bfd4b941b31858c5e71589687c3ef6dd 100644 (file)
@@ -870,8 +870,8 @@ prepare_profiles() {
 }
 
 apitest() {
-       test -x "api/$1.t" || skip
-       "api/$1.t" "${@:2}" && rm -f debug.log strace.log
+       test -x "$TESTOLDPWD/api/$1.t" || skip
+       "$TESTOLDPWD/api/$1.t" "${@:2}" && rm -f debug.log strace.log
 }
 
 mirror_recovery_works() {
This page took 0.035772 seconds and 5 git commands to generate.