X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fspy.sh;h=dd486cecff25979f8b8475cd3fa92a9b0b41e782;hb=6e713425a0dcede167924e7691e95ab5e54e399c;hp=0d087a41a4ba14eab451944deca9693a6eaa919d;hpb=d0dc448517d3a61ba55e62dd76b9a42b68bef8f8;p=platform%2Fupstream%2Fautomake.git diff --git a/t/spy.sh b/t/spy.sh index 0d087a4..dd486ce 100755 --- a/t/spy.sh +++ b/t/spy.sh @@ -80,18 +80,18 @@ touch b c $sleep : > a $MAKE -test "`cat a`" = '' +test x"$(cat a)" = x $sleep touch b $MAKE -test "`cat a`" = rule1 +test "$(cat a)" = "rule1" # Ensure a is strictly newer than b, so HP-UX make does not execute rule2. $sleep : > a $sleep touch c $MAKE -test "`cat a`" = rule2 +test "$(cat a)" = "rule2" # Unfortunately, the following is not portable to FreeBSD/NetBSD/OpenBSD # make, see explanation above.