diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2019-01-26 00:37:47 +0000 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2019-01-26 00:37:47 +0000 |
commit | 2fd02b1f5f50d499b8f19d0cc5e9bc9ed7e686cd (patch) | |
tree | 7557002a8de5892b17c04d1afcd8fdc99a0af4e7 /tests/misc-tests/021-image-multi-devices | |
parent | 03b9f8baf40383f4c2d709c656ca35bd75362dff (diff) |
New upstream release
Diffstat (limited to 'tests/misc-tests/021-image-multi-devices')
-rwxr-xr-x | tests/misc-tests/021-image-multi-devices/test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc-tests/021-image-multi-devices/test.sh b/tests/misc-tests/021-image-multi-devices/test.sh index 5430847f..26beae6e 100755 --- a/tests/misc-tests/021-image-multi-devices/test.sh +++ b/tests/misc-tests/021-image-multi-devices/test.sh @@ -37,6 +37,9 @@ run_check $SUDO_HELPER wipefs -a "$loop2" run_check $SUDO_HELPER "$TOP/btrfs-image" -r "$IMAGE" "$loop1" +# Run check to make sure there is nothing wrong for the recovered image +run_check "$TOP/btrfs" check "$loop1" + run_check $SUDO_HELPER mount "$loop1" "$TEST_MNT" new_md5=$(run_check_stdout md5sum "$TEST_MNT/foobar" | cut -d ' ' -f 1) run_check $SUDO_HELPER umount "$TEST_MNT" |