1.1 --- a/Makefile Thu Apr 09 00:22:14 2009 +0000
1.2 +++ b/Makefile Thu Apr 09 00:30:24 2009 +0000
1.3 @@ -23,8 +23,9 @@
1.4 test:
1.5 @for a in t/*spp* ; do \
1.6 printf "Testing $$a... " ; \
1.7 - ./spp -tspp $$a > out.txt ; \
1.8 - if [ -z "`cat out.txt|grep BUG`" ]; then echo ok ; else echo oops ; fi ; \
1.9 + ./spp -tspp $$a > out.txt ; \
1.10 + if [ -z "`cat out.txt | grep BUG`" ]; then echo ok ; else echo oops ; fi ; \
1.11 + cat out.txt | grep BUG ; \
1.12 rm -f out.txt ; \
1.13 true ; \
1.14 done
2.1 --- a/t/oneliner.spp Thu Apr 09 00:22:14 2009 +0000
2.2 +++ b/t/oneliner.spp Thu Apr 09 00:30:24 2009 +0000
2.3 @@ -1,1 +1,1 @@
2.4 -<{set var 1}><{ifeq var 1}>its true<{else}>BUG<{endif}>
2.5 +<{set var 1}><{ifeq var 1}>its true<{else}>BUG: false conditional check in oneliner ifeq<{endif}>