From 884fb420a2efc1fb31d8e1da99e68eca328f37ce Mon Sep 17 00:00:00 2001 From: Preston Vasquez Date: Tue, 17 Sep 2024 09:49:51 -0600 Subject: [PATCH] Fix leading slash exit in fuzz test (#1813) Co-authored-by: Steven Silvester --- .evergreen/run-fuzz.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.evergreen/run-fuzz.sh b/.evergreen/run-fuzz.sh index 3538da7f34..bb914d9027 100755 --- a/.evergreen/run-fuzz.sh +++ b/.evergreen/run-fuzz.sh @@ -63,7 +63,9 @@ done # If the fuzz directory exists, then tar it up in preparation to upload to S3. if [ -d $PROJECT_DIRECTORY/fuzz ]; then echo "Tarring up fuzz directory" - tar -czf $PROJECT_DIRECTORY/fuzz.tgz $PROJECT_DIRECTORY/fuzz + + cd $PROJECT_DIRECTORY + tar cfz fuzz.tgz ./fuzz # Exit with code 1 to indicate that errors occurred in fuzz tests, resulting in corpus files being generated. # This will trigger a notification to be sent to the Go Driver team.