diff --git a/tests/bonsai/dj.mk b/tests/bonsai/dj.mk index 402abd6..bf8adf3 100755 --- a/tests/bonsai/dj.mk +++ b/tests/bonsai/dj.mk @@ -20,7 +20,7 @@ dj_full: $(BIN)/dj /dev/full case "$$(uname)" in \ Linux) \ $(BIN)/dj -Hi /dev/zero -o /dev/full 2>&1 \ - | tee /dev/tty \ + | tee /dev/stderr \ | xargs -I out test '1+0 > 0+0; 1024 > 0' = out \ ;; \ esac @@ -33,7 +33,7 @@ dj_help: $(BIN)/dj # Read nothing from /dev/null, write nothing to /dev/null. dj_null: $(BIN)/dj /dev/null $(BIN)/dj -Hi /dev/null -o /dev/null 2>&1 \ - | tee /dev/tty \ + | tee /dev/stderr \ | xargs -I out test '0+0 > 0+0; 0 > 0' = out # This test currently fails. This is probably due to dj(1) being stale relative @@ -44,5 +44,5 @@ dj_null: $(BIN)/dj /dev/null # # Pipe 1024B of '\0' into dj(1); skip the first 24B; expect 1000B written. # dd count=1 bs=1024 /dev/null \ # | $(BIN)/dj -H -s 24 -o /dev/null 2>&1 \ -# | tee /dev/tty \ +# | tee /dev/stderr \ # | xargs -I out test '1+0 > 1+0; 1024 > 1000' = out