Commit 033d9d0
test: add XDG sandboxing and cleanup trap
Set XDG_DATA_HOME and XDG_CONFIG_HOME in the meson test environment so
rmw cannot accidentally read/write the real user's XDG dirs during tests.
Add a trap in test_media_root.sh to clean up /tmp dirs on failure.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f8c6b3d commit 033d9d0
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | | - | |
80 | 84 | | |
81 | | - | |
82 | 85 | | |
83 | 86 | | |
0 commit comments