summaryrefslogtreecommitdiffstats
path: root/tests/gnu/fstype_umount.sh
blob: 81c195f3f62c9906217a7b150f657148539f4eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
test "$UNAME" = "Linux" || skip

cd "$TEST"

mkdir tmp
bfs_sudo mount -t tmpfs tmpfs tmp || skip
defer bfs_sudo umount -R tmp

mkdir tmp/ram
bfs_sudo mount -t ramfs ramfs tmp/ram || skip

bfs_diff tmp -path tmp -exec "${SUDO[@]}" umount tmp/ram \; , -fstype ramfs -print