Skip to content
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

make refresh-sample-testdata does not refresh non-diff files on macOS #503

Closed
egibs opened this issue Oct 7, 2024 · 1 comment · Fixed by #508
Closed

make refresh-sample-testdata does not refresh non-diff files on macOS #503

egibs opened this issue Oct 7, 2024 · 1 comment · Fixed by #508

Comments

@egibs
Copy link
Member

egibs commented Oct 7, 2024

When running make refresh-sample-testdata for #502, I noticed that the script would stop after the diffs are processes, which is here:

for f in $(find "${test_data}" -name "*.simple"); do
	prog=$(echo $f | sed -e s#"${test_data}/"## -e s#\.simple\$##)
	if [[ -f "${prog}" ]]; then
		addq ${malcontent} --format=simple -o "${f}" analyze "${prog}"
	fi
done

As far as I can tell, we get to the [[ -f "${prog}" ]] test and it fails for whatever reason. Could be that something is wrong with my local repository but I also made a fresh clone of it today.

@egibs egibs changed the title make refresh-sample-testdata does not refresh any files make refresh-sample-testdata does not refresh any files on macOS Oct 7, 2024
@egibs
Copy link
Member Author

egibs commented Oct 7, 2024

Updated the title. The script runs without issue on Linux.

@egibs egibs changed the title make refresh-sample-testdata does not refresh any files on macOS make refresh-sample-testdata does not refresh non-diff files on macOS Oct 7, 2024
@egibs egibs closed this as completed in #508 Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant