Commit f8c6b3d
test: use /proc/mounts instead of df+awk to check /tmp mount
awk is not available in all CI containers. /proc/mounts is a standard
Linux procfs file with no external tool dependencies; grep on its second
field reliably detects whether /tmp is its own top-level mount point.
On macOS/BSD where /proc/mounts does not exist the grep exits non-zero
and the test skips silently.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 44c56d5 commit f8c6b3d
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
0 commit comments