summaryrefslogtreecommitdiffstats
path: root/test/fixtures/mount/bin/showmount
blob: 2751c4bae2643ba2f15b5813975831934852ffaf (plain)
1
2
3
4
5
6
7
8
9
10
11
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