diff options
author | Karel Zak | 2016-03-10 12:49:49 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-10 12:49:49 +0100 |
commit | e6bc81500fbfed0291282c8da0677e60eff4fcd0 (patch) | |
tree | 0099ef0164916d5b6c4c52cc3925f25e1bb92ba2 | |
parent | sfdisk, fdisk: add fflush() (diff) | |
parent | tests: skip btrfs tests if version too old (diff) | |
download | kernel-qcow2-util-linux-e6bc81500fbfed0291282c8da0677e60eff4fcd0.tar.gz kernel-qcow2-util-linux-e6bc81500fbfed0291282c8da0677e60eff4fcd0.tar.xz kernel-qcow2-util-linux-e6bc81500fbfed0291282c8da0677e60eff4fcd0.zip |
Merge branch 'test-btrfs' of https://github.com/rudimeier/util-linux
-rwxr-xr-x | tests/ts/mount/fstab-btrfs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/mount/fstab-btrfs b/tests/ts/mount/fstab-btrfs index ed243c30f..30aed1d32 100755 --- a/tests/ts/mount/fstab-btrfs +++ b/tests/ts/mount/fstab-btrfs @@ -29,6 +29,10 @@ ts_check_losetup ts_check_prog "mkfs.btrfs" ts_check_prog "btrfs" +# btrfs feature check +btrfs inspect rootid bla 2>&1 | grep -q "unknown token" \ + && ts_skip "btrfs too old" + TS_MOUNTPOINT_ANY="$TS_MOUNTPOINT" TS_MOUNTPOINT_CREATE="$TS_MOUNTPOINT-create" TS_MOUNTPOINT_DEFAULT="$TS_MOUNTPOINT-default" |