mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
Shell: Make sure all tests put their temp dirs in /tmp
Follow-on to #7337. Been seeing other CI test failures that point to these temp directories, so let's just move all of them to /tmp. I'm sure someone will write ext2fs stress tests later :^) Example: /usr/Tests/Shell/control-structure-as-command.sh Core::Socket: Failed to connect() to /tmp/portal/inspectables: ... + rm -rf shell-test 2>/dev/null + mkdir shell-test Error: The action has timed out.
This commit is contained in:
parent
5018b3b4b7
commit
c6eff55439
4 changed files with 16 additions and 15 deletions
|
@ -4,9 +4,9 @@ source $(dirname "$0")/test-commons.inc
|
|||
|
||||
setopt --verbose
|
||||
|
||||
rm -rf shell-test
|
||||
mkdir shell-test
|
||||
cd shell-test
|
||||
rm -rf /tmp/shell-test 2> /dev/null
|
||||
mkdir -p /tmp/shell-test
|
||||
pushd /tmp/shell-test
|
||||
|
||||
# Simple sequence (grouping)
|
||||
{ echo test > testfile }
|
||||
|
@ -33,7 +33,7 @@ cd shell-test
|
|||
fail exits with $exitcode when it should exit with 0
|
||||
}
|
||||
|
||||
cd ..
|
||||
rm -rf shell-test
|
||||
popd
|
||||
rm -rf /tmp/shell-test
|
||||
|
||||
echo PASS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue