Skip to content
Snippets Groups Projects
Commit d9120762 authored by vht24's avatar vht24
Browse files

more test

parent a6d1ec37
No related branches found
No related tags found
No related merge requests found
......@@ -122,3 +122,11 @@ EOF
[ "$stripped_output" = "$expected_output" ]
rm testfile
}
# Test: Check handling of SIGINT (Ctrl+C)
@test "Check SIGINT handling" {
run timeout 2 ./dsh <<EOF
sleep 5
EOF
[ "$status" -ne 0 ]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment