aboutsummaryrefslogtreecommitdiff
path: root/tests/aio.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-08-12 16:50:03 +1000
committerSteve Bennett <steveb@workware.net.au>2023-08-12 16:50:33 +1000
commitff35f0ed44aac0a1ff1492ae41d6b4266db95211 (patch)
tree9dab6b64d2a1fb2cf05c911373a5c20a0342e59b /tests/aio.test
parente1a70f27b21994374dd1754b98d40afe6ee87ca1 (diff)
downloadjimtcl-ff35f0ed44aac0a1ff1492ae41d6b4266db95211.zip
jimtcl-ff35f0ed44aac0a1ff1492ae41d6b4266db95211.tar.gz
jimtcl-ff35f0ed44aac0a1ff1492ae41d6b4266db95211.tar.bz2
tests: support hurd
socket operation on non-socket gives a different message Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/aio.test')
-rw-r--r--tests/aio.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aio.test b/tests/aio.test
index 4591279..3d22964 100644
--- a/tests/aio.test
+++ b/tests/aio.test
@@ -124,7 +124,7 @@ test aio-7.1 {close args} -constraints socket -body {
test aio-7.2 {close w on non-socket} -constraints socket -body {
$f close w
-} -returnCodes error -match regexp -result {^(Socket operation on non-socket|Not a socket)$}
+} -returnCodes error -match regexp -result {(bad|socket)}
test aio-7.3 {close -nodelete on non-socket} -constraints socket -body {
$f close -nodelete