Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0eefa43

Browse files
committed
Add explicit test for collecting multiple runs' outputs
1 parentd54cc00 commit0eefa43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎test/Sandbox.jl‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ for executor in all_executors
4141
@testString(take!(stdout))=="stdout\n"
4242
@testString(take!(stderr))=="stderr\n"
4343
end
44+
45+
# Test that we can run using the same exe and config multiple times:
46+
with_executor(executor)do exe
47+
@testsuccess(exe, config,`/bin/sh -c "echo first"`)
48+
@testString(take!(stdout))=="first\n"
49+
@testsuccess(exe, config,`/bin/sh -c "echo second"`)
50+
@testString(take!(stdout))=="second\n"
51+
end
4452
end
4553

4654
@testset"ignorestatus()"begin

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp