-#!/bin/bash
+#!/usr/bin/env bash
# Test capturing and applying a WIM image in the normal (non-NTFS) capture mode
#
# Also, test if the capture configuration file works correctly.
set -e
-srcdir=`pwd`
cd tests
+srcdir="${srcdir:-.}/.."
+srcdir="$(cd $srcdir; pwd)"
+. "$srcdir/tests/tests-common.sh"
+
imagex() {
echo "imagex $@"