allow ConfigureOp#log_and_test_command to be passed standard input data - close #111

This commit is contained in:
josh committed 2019-09-01 21:50:57 -04:00
1 parent a1bb9d81fd
commit efa77066bf
3 files changed
+21 -2

No files matched your search

+8
View File
@@ -2189,6 +2189,14 @@ EOF
expect(result.status).to eq 0
end
end
it "allows passing standard input data to the executed command" do
test_dir "configure"
result = run_rscons(rsconscript: "custom_config_check.rb", op: "configure")
expect(result.stderr).to eq ""
expect(result.stdout).to match /Checking sed -E flag\.\.\. good/
expect(result.status).to eq 0
end
end
end