diff options
Diffstat (limited to 'test/trace.exp')
-rwxr-xr-x | test/trace.exp | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/test/trace.exp b/test/trace.exp index 2b5003d83..21dd6a559 100755 --- a/test/trace.exp +++ b/test/trace.exp | |||
@@ -11,7 +11,7 @@ expect { | |||
11 | } | 11 | } |
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 1\n";exit} | 13 | timeout {puts "TESTING ERROR 1\n";exit} |
14 | "1:mkdir:mkdir ttt" | 14 | "mkdir:mkdir ttt" |
15 | } | 15 | } |
16 | sleep 1 | 16 | sleep 1 |
17 | 17 | ||
@@ -22,7 +22,7 @@ expect { | |||
22 | } | 22 | } |
23 | expect { | 23 | expect { |
24 | timeout {puts "TESTING ERROR 3\n";exit} | 24 | timeout {puts "TESTING ERROR 3\n";exit} |
25 | "1:rmdir:rmdir ttt" | 25 | "rmdir:rmdir ttt" |
26 | } | 26 | } |
27 | sleep 1 | 27 | sleep 1 |
28 | 28 | ||
@@ -33,8 +33,8 @@ expect { | |||
33 | } | 33 | } |
34 | expect { | 34 | expect { |
35 | timeout {puts "TESTING ERROR 5\n";exit} | 35 | timeout {puts "TESTING ERROR 5\n";exit} |
36 | "1:touch:open ttt" {puts "OK\n";} | 36 | "touch:open ttt" {puts "OK\n";} |
37 | "1:touch:open64 ttt" {puts "OK\n";} | 37 | "touch:open64 ttt" {puts "OK\n";} |
38 | } | 38 | } |
39 | sleep 1 | 39 | sleep 1 |
40 | 40 | ||
@@ -45,7 +45,7 @@ expect { | |||
45 | } | 45 | } |
46 | expect { | 46 | expect { |
47 | timeout {puts "TESTING ERROR 7\n";exit} | 47 | timeout {puts "TESTING ERROR 7\n";exit} |
48 | "1:rm:unlinkat ttt" | 48 | "rm:unlinkat ttt" |
49 | } | 49 | } |
50 | sleep 1 | 50 | sleep 1 |
51 | 51 | ||
@@ -56,26 +56,26 @@ expect { | |||
56 | } | 56 | } |
57 | expect { | 57 | expect { |
58 | timeout {puts "TESTING ERROR 8.2\n";exit} | 58 | timeout {puts "TESTING ERROR 8.2\n";exit} |
59 | "1:bash:open /dev/tty" {puts "OK\n";} | 59 | "bash:open /dev/tty" {puts "OK\n";} |
60 | "1:bash:open64 /dev/tty" {puts "OK\n";} | 60 | "bash:open64 /dev/tty" {puts "OK\n";} |
61 | } | 61 | } |
62 | expect { | 62 | expect { |
63 | timeout {puts "TESTING ERROR 8.3\n";exit} | 63 | timeout {puts "TESTING ERROR 8.3\n";exit} |
64 | "1:wget:fopen64 /etc/wgetrc" {puts "OK\n";} | 64 | "wget:fopen64 /etc/wgetrc" {puts "OK\n";} |
65 | "1:wget:fopen /etc/wgetrc" {puts "OK\n";} | 65 | "wget:fopen /etc/wgetrc" {puts "OK\n";} |
66 | } | 66 | } |
67 | expect { | 67 | expect { |
68 | timeout {puts "TESTING ERROR 8.4\n";exit} | 68 | timeout {puts "TESTING ERROR 8.4\n";exit} |
69 | "1:wget:fopen /etc/hosts" | 69 | "wget:fopen /etc/hosts" |
70 | } | 70 | } |
71 | expect { | 71 | expect { |
72 | timeout {puts "TESTING ERROR 8.5\n";exit} | 72 | timeout {puts "TESTING ERROR 8.5\n";exit} |
73 | "1:wget:connect" | 73 | "wget:connect" |
74 | } | 74 | } |
75 | expect { | 75 | expect { |
76 | timeout {puts "TESTING ERROR 8.6\n";exit} | 76 | timeout {puts "TESTING ERROR 8.6\n";exit} |
77 | "1:wget:fopen64 index.html" {puts "OK\n";} | 77 | "wget:fopen64 index.html" {puts "OK\n";} |
78 | "1:wget:fopen index.html" {puts "OK\n";} | 78 | "wget:fopen index.html" {puts "OK\n";} |
79 | } | 79 | } |
80 | sleep 1 | 80 | sleep 1 |
81 | 81 | ||
@@ -86,10 +86,9 @@ expect { | |||
86 | } | 86 | } |
87 | expect { | 87 | expect { |
88 | timeout {puts "TESTING ERROR 10\n";exit} | 88 | timeout {puts "TESTING ERROR 10\n";exit} |
89 | "1:rm:unlinkat index.html" | 89 | "rm:unlinkat index.html" |
90 | } | 90 | } |
91 | sleep 1 | 91 | sleep 1 |
92 | 92 | ||
93 | 93 | ||
94 | puts "\nall done\n" | 94 | puts "\nall done\n" |
95 | |||