summaryrefslogtreecommitdiff
path: root/tests/read.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/read.right')
-rw-r--r--tests/read.right15
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/read.right b/tests/read.right
index 8f0b2bf..b463825 100644
--- a/tests/read.right
+++ b/tests/read.right
@@ -33,13 +33,13 @@ a = abcdefg
a = xyz
a = -xyz 123-
a = abc
+timeout 1: ok
+
+timeout 2: ok
+
+./read2.sub: line 23: read: -3: invalid timeout specification
1
-4
-1
-4
-./read2.sub: line 13: read: -3: invalid timeout specification
-1
-4
+
abcde
./read3.sub: line 4: read: -1: invalid number
abc
@@ -60,3 +60,6 @@ argv[2] = <>
argv[3] = <>
FOO
0 0 0
+0
+0
+1