blob: 4cccebfee7a53f4008e9e562cb33e6247743f33f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
test "$UNAME" = "Linux" || skip
clean_scratch
"$XTOUCH" -p scratch/{lower/{foo,bar,baz},upper/{bar,baz/qux}}
mkdir -p scratch/{work,merged}
bfs_sudo mount -t overlay overlay -olowerdir=scratch/lower,upperdir=scratch/upper,workdir=scratch/work scratch/merged || skip
defer bfs_sudo rm -rf scratch/work
defer bfs_sudo umount scratch/merged
bfs_diff scratch/merged
|