diff -r 264162c6ed91 -r 3c3961c1ae26 core/builtins/compare.cif --- a/core/builtins/compare.cif Wed Sep 15 00:45:50 2010 +0100 +++ b/core/builtins/compare.cif Fri Sep 17 20:24:30 2010 +0100 @@ -36,3 +36,15 @@ Copyright (c) 2006-2010 Accenture. All rights reserved. +==smoke-test + +date --timestamp | export -s TIMESTAMP +export Temp compare-test-$TIMESTAMP- +echo "Stuff" > $Temp1 +echo "Stuff" > $Temp2 +echo "Stuff thats different" > $Temp3 + +compare $Temp1 $Temp2 || $Error # Should be same +compare $Temp1 $Temp3 && $Error # Should be different + +rm $Temp1 $Temp2 $Temp3