Skip to content
Permalink
Browse files

add test of quiet mode

  • Loading branch information...
ssadedin committed Sep 8, 2019
1 parent 7bbb0d9 commit 22a6d77b30440812ff477a16650ff9b2948b327f
Showing with 24 additions and 0 deletions.
  1. +17 −0 tests/quiet_and_clean/run.sh
  2. +7 −0 tests/quiet_and_clean/test.groovy
@@ -0,0 +1,17 @@
source ../testsupport.sh

bpipe run test.groovy > test.out 2>&1 &

sleep 1

export BPIPE_QUIET=true

bpipe run test.groovy > test.out2 2>&1 &

sleep 3

grep -q "Quiet mode enabled: auto-aborting this pipeline" test.out2 || err "Failed to find auto abort message when quiet mode enabled"

kill %1 %2

true
@@ -0,0 +1,7 @@
hello = {
exec "sleep 10"
}

run {
hello
}

0 comments on commit 22a6d77

Please sign in to comment.
You can’t perform that action at this time.