1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: run api tests from startup dir

This commit is contained in:
Zdenek Kabelac 2015-05-01 15:01:33 +02:00
parent a3473e60db
commit 4ce5b5fdf3

View File

@ -870,8 +870,8 @@ prepare_profiles() {
} }
apitest() { apitest() {
test -x "api/$1.t" || skip test -x "$TESTOLDPWD/api/$1.t" || skip
"api/$1.t" "${@:2}" && rm -f debug.log strace.log "$TESTOLDPWD/api/$1.t" "${@:2}" && rm -f debug.log strace.log
} }
mirror_recovery_works() { mirror_recovery_works() {