summaryrefslogtreecommitdiff
path: root/tests/cli-tests.sh
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-11-10 18:57:38 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-11 16:25:18 +0100
commit4ad7a967d1bcbb77b12b610b9db3ee07518ddb83 (patch)
treef37cd95b825458d7592cdaf6e61b995f7e5e4ebd /tests/cli-tests.sh
parentdbf16fe5e4317e432525b5d3a36d31e77e4c5a5a (diff)
btrfs-progs: tests: check if kernel has btrfs support
Add some sanity checks, reported among other issues via bugzilla. References: https://bugzilla.kernel.org/show_bug.cgi?id=177141 Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/cli-tests.sh')
-rwxr-xr-xtests/cli-tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cli-tests.sh b/tests/cli-tests.sh
index 72f7865a..86dda87b 100755
--- a/tests/cli-tests.sh
+++ b/tests/cli-tests.sh
@@ -20,6 +20,7 @@ export TEST_DEV
rm -f $RESULTS
check_prereq btrfs
+check_kernel_support
# The tests are driven by their custom script called 'test.sh'