X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=tests%2Ftest-imagex-ntfs;fp=tests%2Ftest-imagex-ntfs;h=66c39de4846bb8d90060eec53b112bbb38427e8b;hb=4b249654b4e9a339f96c426749c281db66088dcd;hp=45404d17a15a0dfdd50f1adabe91e00811465009;hpb=a5e30a05b4d7f02c57cc8fbb18e22d6fe31a79a0;p=wimlib diff --git a/tests/test-imagex-ntfs b/tests/test-imagex-ntfs index 45404d17..66c39de4 100755 --- a/tests/test-imagex-ntfs +++ b/tests/test-imagex-ntfs @@ -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