Skip to content

Commit 884fb42

Browse files
Fix leading slash exit in fuzz test (#1813)
Co-authored-by: Steven Silvester <[email protected]>
1 parent 8027c69 commit 884fb42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.evergreen/run-fuzz.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ done
6363
# If the fuzz directory exists, then tar it up in preparation to upload to S3.
6464
if [ -d $PROJECT_DIRECTORY/fuzz ]; then
6565
echo "Tarring up fuzz directory"
66-
tar -czf $PROJECT_DIRECTORY/fuzz.tgz $PROJECT_DIRECTORY/fuzz
66+
67+
cd $PROJECT_DIRECTORY
68+
tar cfz fuzz.tgz ./fuzz
6769

6870
# Exit with code 1 to indicate that errors occurred in fuzz tests, resulting in corpus files being generated.
6971
# This will trigger a notification to be sent to the Go Driver team.

0 commit comments

Comments
 (0)