[lvm-devel] master - tests: run api tests from startup dir
Zdenek Kabelac
zkabelac at fedoraproject.org
Fri May 1 13:08:42 UTC 2015
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4ce5b5fdf3e2758adf7e1313c98381071de85056
Commit: 4ce5b5fdf3e2758adf7e1313c98381071de85056
Parent: a3473e60db68a4d122f68dd66625ee35ac1021be
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Fri May 1 15:01:33 2015 +0200
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Fri May 1 15:07:59 2015 +0200
tests: run api tests from startup dir
---
test/lib/aux.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index 329c086..ae15235 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -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() {
More information about the lvm-devel
mailing list