aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ifcreate/all.do
blob: 93fdaf981256860e2c85bb5fd0f6efcea9d7c9bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
. ../include.sh

rm -rf a b

# we use redo here, as redo-ifchange is smart enough not to rebuild the same
# file twice in the same redo session

redo a
redo a

touch b

redo a

assert "ifcreate" << !
[ "$(cat a)" = "baa" ]
!