diff options
author | Scott Hain <shain@chef.io> | 2018-01-16 14:24:20 -0800 |
---|---|---|
committer | Scott Hain <shain@chef.io> | 2018-01-16 14:24:20 -0800 |
commit | 633c4fbd829ca9ecea4b06a7e288da1444cc6d60 (patch) | |
tree | ef80231f8181ce3827b541bda906d74e88f28e58 | |
parent | fcd8d778baeeb990a64fe9042164bbd3e1dd5269 (diff) | |
download | chef-633c4fbd829ca9ecea4b06a7e288da1444cc6d60.tar.gz |
Force deletion of tmpdir with sudoshain/force_delete_tmpdir
This makes sure we don't fail on the very slim chance that an OS generated file (lookin' at you, AIX) ends up in this directory and blocks deletion.
Signed-off-by: Scott Hain <shain@chef.io>
-rwxr-xr-x | ci/verify-chef.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh index 0c90d65dbe..528152b3b6 100755 --- a/ci/verify-chef.sh +++ b/ci/verify-chef.sh @@ -5,7 +5,7 @@ set -evx # Set up a custom tmpdir, and clean it up before and after the tests TMPDIR="${TMPDIR:-/tmp}/cheftest" export TMPDIR -rm -rf $TMPDIR +sudo rm -rf $TMPDIR mkdir -p $TMPDIR # $PROJECT_NAME is set by Jenkins, this allows us to use the same script to verify |