]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-ntfs
Fix tests (again)
[wimlib] / tests / test-imagex-ntfs
index 45404d17a15a0dfdd50f1adabe91e00811465009..66c39de4846bb8d90060eec53b112bbb38427e8b 100755 (executable)
@@ -10,7 +10,9 @@
 
 set -e
 cd tests
-. tests-common.sh
+srcdir="${srcdir:-.}/.."
+srcdir="$(cd $srcdir; pwd)"
+. "$srcdir/tests/tests-common.sh"
 
 imagex() {
        ../imagex $@ > /dev/null