-#!/bin/bash
+#!/usr/bin/env bash
# This script does some sanity testing of the 'imagex' program, specifically
# checking the NTFS capture and apply features.
cd tests
srcdir="${srcdir:-.}/.."
srcdir="$(cd $srcdir; pwd)"
+. "$srcdir/tests/tests-common.sh"
imagex() {
../imagex $@ > /dev/null
fi
}
+
do_unmount() {
if mountpoint $1 &> /dev/null; then
__do_unmount $1