diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-10-21 09:55:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-10-21 09:55:46 -0400 |
commit | bf0f99be20ce4097c1f44da024dc6131e718d86e (patch) | |
tree | 6c6c51c6f624ae30db494784713a31c67a03e8d2 /tests/common/execdir_pwd.sh | |
parent | 62de5e2bc9a39b189a84ff0691efeb8518f1688a (diff) | |
download | bfs-bf0f99be20ce4097c1f44da024dc6131e718d86e.tar.xz |
tests/gnu/inum_automount: Work around systemd-mount race
This test used systemd-mount to set up an automount on scratch/mnt.
If a previous test mounted something there, systemd will notice that
asynchronously and may not have noticed the unmount by the time that test
runs. This led to the test randomly being skipped sometimes when
systemd-mount failed. It could be reproduced with a loop like this:
$ for _ in {1..10}; ./tests/tests.sh common/L_mount gnu/inum_automount
Work around it by using scratch/automnt instead to avoid conflicts.
Diffstat (limited to 'tests/common/execdir_pwd.sh')
0 files changed, 0 insertions, 0 deletions