mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 17:32:06 +00:00
Fix unit test when false is not at /bin/false
This commit is contained in:
parent
a370739722
commit
801b5653e4
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue