summaryrefslogtreecommitdiffstats
path: root/tests/bfs/warn_xdev_mount.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-30 14:16:51 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-30 14:16:51 -0500
commitc55e85580df10c5afdc6fc0710e756a456aa8e93 (patch)
treea5dcb83e9ed6c4adf3a719eac45c43aba15cdb09 /tests/bfs/warn_xdev_mount.sh
parent33a6a3027f0b1ec931824a4b2206bf6659df53a4 (diff)
downloadbfs-c55e85580df10c5afdc6fc0710e756a456aa8e93.tar.xz
parse: Fix crash on -xdev -mount
Diffstat (limited to 'tests/bfs/warn_xdev_mount.sh')
-rw-r--r--tests/bfs/warn_xdev_mount.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bfs/warn_xdev_mount.sh b/tests/bfs/warn_xdev_mount.sh
new file mode 100644
index 0000000..5d395f6
--- /dev/null
+++ b/tests/bfs/warn_xdev_mount.sh
@@ -0,0 +1,2 @@
+# Regression test: don't crash if -mount is the last option
+bfs_diff basic -warn -xdev -mount