Skip to content

Commit

Permalink
Sanitize output
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <me@emillon.org>
  • Loading branch information
emillon committed Feb 8, 2023
1 parent bc68d34 commit c14df0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/blackbox-tests/test-cases/cram/git-diff-fail.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ We need to avoid the special treatment of the test when INSIDE_DUNE is set:
We do not observe the leaking of the display of internal processes when running
dune build. Note that we scrub the actual reported error due to the build tool
being bogus.
$ dune build --root=. --diff-command="exit 1; echo" --display=short @runtest | sed '/^(cd/d'

$ bash -c 'set -o pipefail; dune build --root=. --diff-command="exit 1; echo" --display=short @runtest 2>&1 | grep -v "(cd"'
File "mytest.t", line 1, characters 0-0:
Command exited with code 1.
[1]

0 comments on commit c14df0f

Please sign in to comment.