From 4a25bf1120e60c8a5d1746671972cf08faaaf620 Mon Sep 17 00:00:00 2001 From: Tharre Date: Sun, 25 Jan 2015 20:47:37 +0100 Subject: Add sync to some test cases to make travis-ci work --- test/always.bats | 1 + test/fail.bats | 1 + test/no-output.bats | 1 + 3 files changed, 3 insertions(+) (limited to 'test') diff --git a/test/always.bats b/test/always.bats index a4ab1a2..6698a2d 100644 --- a/test/always.bats +++ b/test/always.bats @@ -4,5 +4,6 @@ load test_helper @test "check if do-files marked with always really do execute always" { run redo always + sync [ $status -eq 0 ] && [ -e always_result ] } diff --git a/test/fail.bats b/test/fail.bats index 1a77ced..7ccbd07 100644 --- a/test/fail.bats +++ b/test/fail.bats @@ -9,5 +9,6 @@ load test_helper @test "invoke with failing do-file" { run redo fail + sync [ $status -ne 0 ] && [ ! -e fail_result ] } diff --git a/test/no-output.bats b/test/no-output.bats index c492e4f..fee155d 100644 --- a/test/no-output.bats +++ b/test/no-output.bats @@ -4,5 +4,6 @@ load test_helper @test "produce empty result" { run redo no-output_result + sync [ $status -eq 0 ] && [ ! -e no-output_result ] } -- cgit v1.2.3-70-g09d2