diff --git a/tests/bonsai/dj.mk b/tests/bonsai/dj.mk index bf8adf3..2b4ef6b 100755 --- a/tests/bonsai/dj.mk +++ b/tests/bonsai/dj.mk @@ -19,7 +19,7 @@ dj_tests: dj_help dj_full dj_null # dj_skip_stdin dj_full: $(BIN)/dj /dev/full case "$$(uname)" in \ Linux) \ - $(BIN)/dj -Hi /dev/zero -o /dev/full 2>&1 \ + ! $(BIN)/dj -Hi /dev/zero -o /dev/full 2>&1 \ | tee /dev/stderr \ | xargs -I out test '1+0 > 0+0; 1024 > 0' = out \ ;; \ diff --git a/tests/bonsai/rpn.mk b/tests/bonsai/rpn.mk index 3619692..6fecab9 100755 --- a/tests/bonsai/rpn.mk +++ b/tests/bonsai/rpn.mk @@ -30,7 +30,7 @@ rpn_mul: $(BIN)/rpn .PHONY: rpn_div rpn_div: $(BIN)/rpn test "$$($(BIN)/rpn 12 5 /)" = 2.4 - test "$$($(BIN)/rpn 3 0 /)" -eq inf + test "$$($(BIN)/rpn 3 0 /)" = inf .PHONY: rpn_mod rpn_mod: $(BIN)/rpn