X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-imagex-mount;h=8a07325ab0cc746387b360f2aeba88409a61d3fe;hb=075e14ac8b227141bc68fec5486b0644dcab8013;hp=ecb05eaca72ecb1bbdc9bdb8e49bdd3fb9f35fe8;hpb=3868ce60370c9c62f040c63cd9135791becb2ed9;p=wimlib diff --git a/tests/test-imagex-mount b/tests/test-imagex-mount index ecb05eac..8a07325a 100755 --- a/tests/test-imagex-mount +++ b/tests/test-imagex-mount @@ -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