From ade58a202a5e3914a0914ac4ad59cf7c3f6810fc Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Sat, 27 Jan 2018 13:06:06 +0200 Subject: [PATCH] tests: env lives in /usr/bin --- test/test-run.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-run.cpp b/test/test-run.cpp index 7da9a31..fec6a5b 100644 --- a/test/test-run.cpp +++ b/test/test-run.cpp @@ -78,7 +78,7 @@ TEST_F(RunTest, Environment) { run.name = "foo"; run.build = 1234; run.laminarHome = "/tmp"; - run.addScript("/bin/env"); + run.addScript("/usr/bin/env"); runAll(); StringMap map = parseFromString(readAllOutput()); EXPECT_EQ("1234", map["RUN"]); @@ -91,7 +91,7 @@ TEST_F(RunTest, Environment) { TEST_F(RunTest, ParamsToEnv) { run.params["foo"] = "bar"; - run.addScript("/bin/env"); + run.addScript("/usr/bin/env"); runAll(); StringMap map = parseFromString(readAllOutput()); EXPECT_EQ("bar", map["foo"]);