-
Notifications
You must be signed in to change notification settings - Fork 918
Fix leading slash exit in fuzz test #1813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix leading slash exit in fuzz test #1813
Conversation
.evergreen/run-fuzz.sh
Outdated
if [ -d $PROJECT_DIRECTORY/fuzz ]; then | ||
echo "Tarring up fuzz directory" | ||
tar -czf $PROJECT_DIRECTORY/fuzz.tgz $PROJECT_DIRECTORY/fuzz | ||
tar -czf $PROJECT_DIRECTORY/fuzz.tgz --absolute-names $PROJECT_DIRECTORY/fuzz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note the fuzz test still fails in CI, but because of a legitimate issue. See GODRIVER-3346 for more information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the proper way is to instead cd $PROJECT_DIRECTORY
and then run tar -cfz fuzz.tgz ./fuzz
API Change ReportNo changes found! |
…ez/mongo-go-driver into fix-leading-slash-fuzz-exit
Co-authored-by: Steven Silvester <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary
In CI we are getting the following:
Suggest applying the solution here: https://unix.stackexchange.com/a/59244
Background & Motivation
Fuzz tests are failing at tar.