btrfs-progs: tests: fix misc/019-receive-clones-on-munted-subvol
authorDavid Sterba <dsterba@suse.com>
Mon, 15 May 2017 14:34:31 +0000 (16:34 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 May 2017 14:36:11 +0000 (16:36 +0200)
Patches "btrfs-progs: tests: correctly receive clones to mounted subvol"
(8eaf63bc9a7b957c566be23df7c6701a9a5b22a2) and followup are missing last
unmount which leads to failure of misc/020.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/misc-tests/019-receive-clones-on-munted-subvol/test.sh

index 3a57243..182b0cf 100755 (executable)
@@ -122,4 +122,6 @@ run_check $FSSUM_PROG -r "$srcdir/foo.1.fssum" "$TEST_MNT/foo.1"
 run_check $FSSUM_PROG -r "$srcdir/bar.0.fssum" "$TEST_MNT/bar.0"
 run_check $FSSUM_PROG -r "$srcdir/baz.0.fssum" "$TEST_MNT/baz.0"
 
+run_check_umount_test_dev
+
 rm -rf -- "$srcdir"