]> Cypherpunks.ru repositories - goredo.git/blob - t/goredo-failed-build.t
mktemp is unnecessary
[goredo.git] / t / goredo-failed-build.t
1 #!/bin/sh
2
3 testname=`basename "$0"`
4 test_description="Check that failed build is still OOD target"
5 . $SHARNESS_TEST_SRCDIR/sharness.sh
6
7 echo exit 1 > bar.do
8 echo redo-ifchange bar > foo.do
9 export REDO_NO_PROGRESS=1
10 test_expect_success "first fail" 'redo foo ; [ $? = 1 ]'
11 test_expect_success "second fail" 'redo foo ; [ $? = 1 ]'
12
13 test_done