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

Fix squashfuse issues #1445

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure to exit with correct code for test
ErikParawell-SiFive authored and JakeSiFive committed Oct 31, 2023
commit 10c73aafa176434c2b995e3f12297716431102fd
2 changes: 2 additions & 0 deletions tests/wakebox/squashfuse/pass.sh
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ cleanup () {
# Sleep in hopes that fuse will close the session in time
sleep 3
rm -rf "$TMPDIR"
echo "?: $?"
}
trap cleanup EXIT

@@ -41,3 +42,4 @@ mksquashfs "$SQUASH_ROOT_DIR" "$SQUASHFS_FILENAME" -comp xz -all-root -noappend
# Check result
[ "$(jq .usage.status "$RESULT_JSON")" -ne 97 ] && exit 98

exit 0