summaryrefslogtreecommitdiffstats
path: root/tests/gnu/inum_automount.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: New defer functionTavian Barnes2023-10-191-1/+1
|
* tests: Use bfs_sudo wrapper instead of testing $SUDOTavian Barnes2022-12-291-3/+2
|
* tests: Turn on set -eTavian Barnes2022-12-161-5/+3
|
* tests: Replace skip_unless test with test || skipTavian Barnes2022-12-161-3/+3
|
* tests/gnu/inum_automount: Work around systemd-mount raceTavian Barnes2022-10-211-5/+5
| | | | | | | | | | | | 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.
* tests: Add a helper for cleaning scratchTavian Barnes2022-10-201-1/+1
| | | | And try to unmount things if the a test left them mounted.
* tests: Split test cases into separate filesTavian Barnes2022-10-191-0/+17