We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6bd054 commit 0e97b2cCopy full SHA for 0e97b2c
tests/runtime/sigint
@@ -0,0 +1,9 @@
1
+NAME strace no quit
2
+RUN bpftrace -v -e 'i:s:1 { printf("%s %d\n", "SUCCESS", 1); exit() }' & (sleep 0.5 && strace -p $! -o /dev/null)
3
+EXPECT SUCCESS 1
4
+TIMEOUT 3
5
+
6
+NAME sigint quit
7
+RUN bpftrace -v -e 'END { printf("%s %d", "SUCCESS", 1) }' & (sleep 1 && /usr/bin/env kill -s SIGINT $!)
8
+EXPECT ^SUCCESS 1$
9
+TIMEOUT 2
0 commit comments