]> Cypherpunks.ru repositories - goredo.git/blob - t/goredo-failed-build.t
Download link for 2.6.2 release
[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 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
7
8 echo exit 1 > bar.do
9 echo redo-ifchange bar > foo.do
10 test_expect_success "first fail" 'redo foo ; [ $? = 1 ]'
11 test_expect_success "second fail" 'redo foo ; [ $? = 1 ]'
12
13 test_done