mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
tests: env lives in /usr/bin
This commit is contained in:
parent
3bc60ec8f4
commit
ade58a202a
@ -78,7 +78,7 @@ TEST_F(RunTest, Environment) {
|
|||||||
run.name = "foo";
|
run.name = "foo";
|
||||||
run.build = 1234;
|
run.build = 1234;
|
||||||
run.laminarHome = "/tmp";
|
run.laminarHome = "/tmp";
|
||||||
run.addScript("/bin/env");
|
run.addScript("/usr/bin/env");
|
||||||
runAll();
|
runAll();
|
||||||
StringMap map = parseFromString(readAllOutput());
|
StringMap map = parseFromString(readAllOutput());
|
||||||
EXPECT_EQ("1234", map["RUN"]);
|
EXPECT_EQ("1234", map["RUN"]);
|
||||||
@ -91,7 +91,7 @@ TEST_F(RunTest, Environment) {
|
|||||||
|
|
||||||
TEST_F(RunTest, ParamsToEnv) {
|
TEST_F(RunTest, ParamsToEnv) {
|
||||||
run.params["foo"] = "bar";
|
run.params["foo"] = "bar";
|
||||||
run.addScript("/bin/env");
|
run.addScript("/usr/bin/env");
|
||||||
runAll();
|
runAll();
|
||||||
StringMap map = parseFromString(readAllOutput());
|
StringMap map = parseFromString(readAllOutput());
|
||||||
EXPECT_EQ("bar", map["foo"]);
|
EXPECT_EQ("bar", map["foo"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user