diff options
Diffstat (limited to 'test/units/TEST-74-AUX-UTILS.mount.sh')
-rwxr-xr-x | test/units/TEST-74-AUX-UTILS.mount.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/units/TEST-74-AUX-UTILS.mount.sh b/test/units/TEST-74-AUX-UTILS.mount.sh index 89a391d48e..0700b43063 100755 --- a/test/units/TEST-74-AUX-UTILS.mount.sh +++ b/test/units/TEST-74-AUX-UTILS.mount.sh @@ -185,3 +185,10 @@ systemctl status "$WORK_DIR/mnt" touch "$WORK_DIR/mnt/hello" [[ "$(stat -c "%U:%G" "$WORK_DIR/mnt/hello")" == "testuser:testuser" ]] systemd-umount LABEL=owner-vfat + +# Mkae sure that graceful mount options work +GRACEFULTEST="/tmp/graceful/$RANDOM" +systemd-mount --tmpfs -p GracefulOptions=idefinitelydontexist,nr_inodes=4711,idonexisteither "$GRACEFULTEST" +findmnt -n -o options "$GRACEFULTEST" +findmnt -n -o options "$GRACEFULTEST" | grep -q nr_inodes=4711 +umount "$GRACEFULTEST" |