diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-02-06 10:39:30 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-02-06 10:59:58 +1000 |
commit | 35b5ef40db6a184eb97574cd4774403db5599c5f (patch) | |
tree | 4dc00a06d9512aa5d37ecb26ffb1722b60675974 /tests/exec2.test | |
parent | 554bf03257cee5874713371801e1ed7168277f71 (diff) | |
download | jimtcl-35b5ef40db6a184eb97574cd4774403db5599c5f.zip jimtcl-35b5ef40db6a184eb97574cd4774403db5599c5f.tar.gz jimtcl-35b5ef40db6a184eb97574cd4774403db5599c5f.tar.bz2 |
tests: Don't run exec2 in a child interpreter
Since signals aren't supported there and we need signals for some
of these tests.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/exec2.test')
-rw-r--r-- | tests/exec2.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/exec2.test b/tests/exec2.test index ce5f24b..87602c6 100644 --- a/tests/exec2.test +++ b/tests/exec2.test @@ -67,7 +67,8 @@ test exec2-3.1 "close pipeline return value" pipe { list $rc $msg $status $exitcode } {1 {child process exited abnormally} CHILDSTATUS 1} -test exec2-3.2 "close pipeline return value" -constraints {pipe nomingw32} -body { +test exec2-3.2 "close pipeline return value" -constraints {pipe signal nomingw32} -body { + signal default SIGPIPE # Write more than 64KB which is maximum size of the pipe buffers # on all systems we have seen set bigstring [string repeat a 100000] |