Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
089a1278
Commit
089a1278
authored
Oct 22, 2017
by
xoviat
Committed by
GitHub
Oct 22, 2017
Browse files
FIX: attempt to ignore rm error
parent
6f1885d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_library_builders.sh
tests/test_library_builders.sh
+1
-1
No files found.
tests/test_library_builders.sh
View file @
089a1278
...
@@ -8,7 +8,7 @@ set -e -x
...
@@ -8,7 +8,7 @@ set -e -x
function
suppress
{
function
suppress
{
# Suppress the output of a bash command unless it fails
# Suppress the output of a bash command unless it fails
rm
--force
$HOME
/suppress.out 2> /dev/null
rm
--force
$HOME
/suppress.out 2> /dev/null
||
true
$*
2>&1
>
$HOME
/suppress.out
||
cat
$HOME
/suppress.out
$*
2>&1
>
$HOME
/suppress.out
||
cat
$HOME
/suppress.out
rm
$HOME
/suppress.out
rm
$HOME
/suppress.out
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment