Skip to content

Commit

Permalink
Fix term_trace_syscall test failure regression
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed Jul 24, 2023
1 parent 9b538b3 commit 887129d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/term_trace_syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ int main(void) {
atomic_puts("sleeping");

nanosleep(&ts, NULL);
atomic_puts("FAILED");
return 1;
}
2 changes: 1 addition & 1 deletion src/test/term_trace_syscall.run
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo " done."
# fail to see the tracee write EXIT-SUCCESS.
wait

if [[ "record.out" == $(grep -l "EXIT-SUCCESS" record.out) ]]; then
if [[ "record.out" == $(grep -l "FAILED" record.out) ]]; then
echo "Test '$TESTNAME' FAILED: error during recording: tracer not interrupted in time."
fi

Expand Down

0 comments on commit 887129d

Please sign in to comment.