Skip to content

Commit

Permalink
Ignore errors when removing workspace dir in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
katre committed Nov 12, 2020
1 parent abc4984 commit 724c10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/shell/testenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ workspaces=()
# Set-up a new, clean workspace with only the tools installed.
function create_new_workspace() {
new_workspace_dir=${1:-$(mktemp -d ${TEST_TMPDIR}/workspace.XXXXXXXX)}
try_with_timeout rm -fr ${new_workspace_dir}
try_with_timeout rm -fr ${new_workspace_dir} > /dev/null 2>&1
mkdir -p ${new_workspace_dir}
workspaces+=(${new_workspace_dir})
cd ${new_workspace_dir}
Expand Down

0 comments on commit 724c10b

Please sign in to comment.