mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Shell: Remove sigpipe.sh.out artefact after failure
Helps to avoid to erroneously add the file to git.
This commit is contained in:
parent
62af3acf56
commit
18f053ac31
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ rm -f sigpipe.sh.out
|
||||||
# So the test only fails if sigpipe.sh.out exists (since then `exit 1` runs),
|
# So the test only fails if sigpipe.sh.out exists (since then `exit 1` runs),
|
||||||
# not if the `test` statement returns false.
|
# not if the `test` statement returns false.
|
||||||
if test -e sigpipe.sh.out {
|
if test -e sigpipe.sh.out {
|
||||||
|
rm -f sigpipe.sh.out
|
||||||
fail sigpipe did not terminate further commands
|
fail sigpipe did not terminate further commands
|
||||||
} else {
|
} else {
|
||||||
echo PASS
|
echo PASS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue