btrfs-progs: tests: fix run_mustfail in cli-tests/007-check-force
authorDavid Sterba <dsterba@suse.com>
Mon, 11 Sep 2017 15:29:03 +0000 (17:29 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Sep 2017 13:17:06 +0000 (15:17 +0200)
commit67b7b4bc4090e83059384b8c870ed09ab410ad5b
tree3a6b86ca4c0c630d980729c75305f31c3db3be1e
parentfb48edcffb8397b735cf00f5448ee62cf7482322
btrfs-progs: tests: fix run_mustfail in cli-tests/007-check-force

The sanity check in run_mustfail does not work as expected and allowed
the command to continue without the missing parameter

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196893
Signed-off-by: David Sterba <dsterba@suse.com>
tests/cli-tests/007-check-force/test.sh