btrfs-progs/tests/cli-tests/001-btrfs/test.sh
David Sterba d75f0c12d2 btrfs-progs: tests: add support for command line coverage tests
Signed-off-by: David Sterba <dsterba@suse.com>
2016-05-02 14:39:46 +02:00

16 lines
306 B
Bash
Executable File

#!/bin/bash
# test commands of btrfs
source $TOP/tests/common
check_prereq btrfs
# returns 1
run_mayfail $TOP/btrfs || true
run_check $TOP/btrfs version
run_check $TOP/btrfs version --
run_check $TOP/btrfs help
run_check $TOP/btrfs help --
run_check $TOP/btrfs --help
run_check $TOP/btrfs --help --full