summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-04-20 14:12:40 +0200
committerGitHub <noreply@github.com>2020-04-20 14:12:40 +0200
commit01394bbefc7e8376cb59ac2fe24f752b5c22b0bd (patch)
treef96ebdc147043bb5b5be502e7db64d7488b0edd0 /vespalib
parent4c0a25367678aa61d96023dafa1eac7742f5fde4 (diff)
parent26aa54c15ed1eb659977063d4a86b3b37849bd49 (diff)
Merge pull request #12985 from vespa-engine/toregge/handle-sh-builtin-echo-on-darwin
Handle version of echo not understanding -n option.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/tests/slaveproc/slaveproc_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/slaveproc/slaveproc_test.cpp b/vespalib/src/tests/slaveproc/slaveproc_test.cpp
index 7a39d4f1c7b..547da991211 100644
--- a/vespalib/src/tests/slaveproc/slaveproc_test.cpp
+++ b/vespalib/src/tests/slaveproc/slaveproc_test.cpp
@@ -18,7 +18,7 @@ TEST("simple run, ignore output, timeout") {
TEST("simple run") {
std::string out;
- EXPECT_TRUE(SlaveProc::run("echo -n foo", out));
+ EXPECT_TRUE(SlaveProc::run("/bin/echo -n foo", out));
EXPECT_EQUAL(out, "foo");
}