-
Notifications
You must be signed in to change notification settings - Fork 14
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
tests: add tests for injecting large resources #7
base: main
Are you sure you want to change the base?
Conversation
bacb589
to
f5acc1d
Compare
f5acc1d
to
87437b3
Compare
581d0ce
to
cbfc064
Compare
Fixes: #12 Signed-off-by: Darshan Sen <raisinten@gmail.com>
cbfc064
to
5d90d49
Compare
cc test.c -o "$bin" | ||
|
||
input="$TEMPORARY_DIRECTORY/input.txt" | ||
head -c 1073741824 /dev/urandom > "$input" |
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.
why not head -c 1G /dev/urandom
?
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.
@robertgzr doesn't work on macOS unfortunately
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.
sad
5d90d49
to
fd5855c
Compare
Addresses #7 (comment). Signed-off-by: Darshan Sen <raisinten@gmail.com>
Addresses #7 (comment). Signed-off-by: Darshan Sen <raisinten@gmail.com>
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 we should hold off on landing changes to tests until #8 lands, it changes how tests are implemented.
Can we focus that PR on just the WASM-related changes instead? I don't think it's a good idea to mix unrelated things into a PR if we can help it because as we can see here, it's blocking the progress of other PRs. Feel free to let me know if you're stuck anywhere because I've noticed that the last push was 11 days ago. |
Fixes: #12
Signed-off-by: Darshan Sen raisinten@gmail.com