Skip to content

Commit 4ca7ff1

Browse files
authored
test untested File functions (#371)
* test untested file funcs * typo
1 parent 7a41fef commit 4ca7ff1

35 files changed

+324
-43
lines changed

ci/expect_scripts/bytes-stdin-stdout.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ expect "someinput\r\nsomeinput\r\n" {
1717
}
1818
}
1919

20-
puts stderr "\nExpect script failed: output was different from expected value."
20+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
2121
exit 1

ci/expect_scripts/command-line-args.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ expect "received argument: foo\r\n" {
2020
}
2121
}
2222

23-
puts stderr "\nExpect script failed: output was different from expected value."
23+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
2424
exit 1

ci/expect_scripts/command.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ expect -exact "EXEC\r\nFOO=BAR\r\nBAZ=DUCK\r\nFOO=BAR\r\n" {
1616
}
1717
}
1818

19-
puts stderr "\nExpect script failed: output was different from expected value."
19+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
2020
exit 1

ci/expect_scripts/dir.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ expect "Success!\r\n" {
1515
}
1616
}
1717

18-
puts stderr "\nExpect script failed: output was different from expected value."
18+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
1919
exit 1

ci/expect_scripts/env-var.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ expect "Your favorite editor is nano!\r\n" {
2121
}
2222
}
2323

24-
puts stderr "\nExpect script failed: output was different from expected value."
24+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
2525
exit 1

ci/expect_scripts/env.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ expect "Testing Env module functions..." {
5757
}
5858
}
5959

60-
puts stderr "\nExpect script failed: output was different from expected value."
60+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
6161
exit 1

ci/expect_scripts/error-handling.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ expect "NotFound\r\n" {
1515
}
1616
}
1717

18-
puts stderr "\nExpect script failed: output was different from expected value."
18+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
1919
exit 1

ci/expect_scripts/file-accessed-modified-created-time.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ expect {
2121
}
2222
}
2323

24-
puts stderr "\nExpect script failed: output was different from expected value."
24+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
2525
exit 1

ci/expect_scripts/file-permissions.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ expect "LICENSE file permissions:\r\n Executable: Bool.false\r\n Readable:
1515
}
1616
}
1717

18-
puts stderr "\nExpect script failed: output was different from expected value."
18+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
1919
exit 1

ci/expect_scripts/file-read-buffered.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ expect "Done reading file: {bytes_read: 1915, lines_read: 17}\r\n" {
1515
}
1616
}
1717

18-
puts stderr "\nExpect script failed: output was different from expected value."
18+
puts stderr "\nExpect script failed: output was different from expected value. uncomment `exp_internal 1` to debug."
1919
exit 1

0 commit comments

Comments
 (0)