]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-mount
COPYING: updates and clarifications
[wimlib] / tests / test-imagex-mount
index ecb05eaca72ecb1bbdc9bdb8e49bdd3fb9f35fe8..8a07325ab0cc746387b360f2aeba88409a61d3fe 100755 (executable)
@@ -6,7 +6,7 @@ set -e
 cd tests
 srcdir="${srcdir:-.}/.."
 srcdir="$(cd $srcdir; pwd)"
-. "$srcdir/tests/tests-common.sh"
+. "$srcdir/tests/test_utils.sh"
 
 TEST_SUBDIR=tmpdir_test-imagex-mount
 
@@ -171,7 +171,7 @@ echo "Unmounting WIM with changes committed and --check"
 if ! imagex_unmount tmp.mnt --commit --check; then
        error "Failed to unmount read-write mounted WIM"
 fi
-if test "`wiminfo dir.wim | grep Integrity | awk '{print $3}'`" != "yes"; then
+if ! wiminfo dir.wim | grep -q Integrity; then
        error "Integrity information was not included"
 fi
 if ! wimapply dir.wim tmp.apply; then