diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2021-01-24 09:34:19 +0200 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2021-01-24 09:35:41 +0200 |
commit | 1aec434177a70c65d5449455eaedcad8a3a96eaf (patch) | |
tree | 68ec498d633b3d973480c08212c05977ad80ac67 /tests | |
parent | 87f17506747d84bc2caeebb6184a75bcc3016fa0 (diff) | |
download | bindfs-1aec434177a70c65d5449455eaedcad8a3a96eaf.tar.gz |
Added support for `-o fsname`
For #94
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_bindfs.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb index ed33400..d9d616c 100755 --- a/tests/test_bindfs.rb +++ b/tests/test_bindfs.rb @@ -867,6 +867,13 @@ if `uname`.strip == 'Linux' end end +# Issue 94 +if `uname`.strip != 'FreeBSD' # -o fsname is not supported on FreeBSD + testenv("-o fsname=_bindfs_test_123_", :title => "fsname") do + assert { `mount` =~ /^_bindfs_test_123_\s+on\s+/m } + end +end + if `uname`.strip != 'FreeBSD' # -o dev is not supported on FreeBSD root_testenv("-odev") do system("mknod mnt/zero c 1 5") |