Skip to content

Commit

Permalink
Fix failing testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Moravec committed Mar 28, 2014
1 parent 9b23513 commit 3c3f421
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
11 changes: 10 additions & 1 deletion testsuite/tests/Read.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,16 @@ def main
"target" => { "string" => "", "tmpdir" => "/tmp", "size" => 0 }
}
@WRITE = {}
@EXEC = { "target" => { "bash_output" => {}, "bash" => 1 } }
@EXEC = {
"target" => {
"bash_output" => {
"exit" => 0,
"stdout" => "",
"stderr" => ""
}
},
"bash" => 1
}

TESTSUITE_INIT([@READ, @WRITE, @EXEC], nil)

Expand Down
10 changes: 9 additions & 1 deletion testsuite/tests/Write.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,15 @@ def main
"target" => { "string" => "", "tmpdir" => "/tmp", "size" => 0 }
}
@WRITE = {}
@EXEC = { "target" => { "bash_output" => {} } }
@EXEC = {
"target" => {
"bash_output" => {
"exit" => 0,
"stdout" => "",
"stderr" => ""
}
}
}


TESTSUITE_INIT([@READ, @WRITE, @EXEC], nil)
Expand Down

0 comments on commit 3c3f421

Please sign in to comment.