From 801b5653e442c0abf63cf8d51bbd02b103c3aa73 Mon Sep 17 00:00:00 2001 From: James Allen Date: Fri, 20 Mar 2015 14:27:25 +0000 Subject: [PATCH] Fix unit test when false is not at /bin/false --- services/filestore/test/unit/coffee/SafeExec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/filestore/test/unit/coffee/SafeExec.coffee b/services/filestore/test/unit/coffee/SafeExec.coffee index bdfcec3a70..b63851aa57 100644 --- a/services/filestore/test/unit/coffee/SafeExec.coffee +++ b/services/filestore/test/unit/coffee/SafeExec.coffee @@ -25,7 +25,7 @@ describe "SafeExec", -> done() it "should execute a command with non-zero exit status", (done) -> - @safe_exec "/bin/false", @options, (err, stdout, stderr) => + @safe_exec "/usr/bin/env false", @options, (err, stdout, stderr) => stdout.should.equal "" stderr.should.equal "" err.message.should.equal "exit status 1"