X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tests%2Ftest-imagex-mount;h=1bde84de180b80581cf89a4c3c7c06d803475995;hp=ecb05eaca72ecb1bbdc9bdb8e49bdd3fb9f35fe8;hb=0f25f61f874e53e1784e0f74e94fe4daad4a4b5b;hpb=50a73294df28e50188565ea88b72ed13c87ce4bf diff --git a/tests/test-imagex-mount b/tests/test-imagex-mount index ecb05eac..1bde84de 100755 --- a/tests/test-imagex-mount +++ b/tests/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