diff options
Diffstat (limited to 'tests/gnu/inum_automount.sh')
-rw-r--r-- | tests/gnu/inum_automount.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gnu/inum_automount.sh b/tests/gnu/inum_automount.sh index 82f85d2..648ea05 100644 --- a/tests/gnu/inum_automount.sh +++ b/tests/gnu/inum_automount.sh @@ -4,14 +4,14 @@ skip_unless test "$SUDO" skip_unless command -v systemd-mount &>/dev/null clean_scratch -mkdir scratch/{foo,mnt} -skip_unless sudo systemd-mount -A -o bind basic scratch/mnt +mkdir scratch/{foo,automnt} +skip_unless sudo systemd-mount -A -o bind basic scratch/automnt -before=$(inum scratch/mnt) +before=$(inum scratch/automnt) bfs_diff scratch -inum "$before" -prune ret=$? -after=$(inum scratch/mnt) +after=$(inum scratch/automnt) -sudo systemd-umount scratch/mnt +sudo systemd-umount scratch/automnt ((ret == 0 && before == after)) |