X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tests%2Ftest-imagex-capture_and_apply;h=1dfc9431568662f92613753be8ba9e58b1bd30a4;hp=fcac5cee4a36096ca1b817f178a7a40eb66f76ed;hb=40beb80283a2df7af88c8359ca41adb814585e9a;hpb=302d18acd7ed0423cfd37a9f1a8f5b70a8fe9965 diff --git a/tests/test-imagex-capture_and_apply b/tests/test-imagex-capture_and_apply index fcac5cee..1dfc9431 100755 --- a/tests/test-imagex-capture_and_apply +++ b/tests/test-imagex-capture_and_apply @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Test capturing and applying a WIM image in the normal (non-NTFS) capture mode # @@ -10,7 +10,10 @@ set -e cd tests -srcdir=.. +srcdir="${srcdir:-.}/.." +srcdir="$(cd $srcdir; pwd)" +. "$srcdir/tests/tests-common.sh" + imagex() { echo "imagex $@"