summaryrefslogtreecommitdiffstats
path: root/test/fixtures/mount/bin/showmount
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/mount/bin/showmount')
-rwxr-xr-xtest/fixtures/mount/bin/showmount12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/fixtures/mount/bin/showmount b/test/fixtures/mount/bin/showmount
new file mode 100755
index 0000000..2751c4b
--- /dev/null
+++ b/test/fixtures/mount/bin/showmount
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ "$1" = -e ] && [ "$2" = mocksrv ]; then
+ echo "Header line"
+ echo "/test/path"
+ echo "/test/path2"
+ echo "/second/path"
+ exit 0
+fi
+
+echo "Usage: 'showmount -e mocksrv'; nothing else works."
+exit 1