]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-mount
Update version-info
[wimlib] / tests / test-imagex-mount
index ecb05eaca72ecb1bbdc9bdb8e49bdd3fb9f35fe8..1bde84de180b80581cf89a4c3c7c06d803475995 100755 (executable)
@@ -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