diff -r 264162c6ed91 -r 3c3961c1ae26 core/builtins/touch.cif --- a/core/builtins/touch.cif Wed Sep 15 00:45:50 2010 +0100 +++ b/core/builtins/touch.cif Fri Sep 17 20:24:30 2010 +0100 @@ -24,9 +24,15 @@ The file to touch. - - ==copyright Copyright (c) 2006-2010 Accenture. All rights reserved. +==smoke-test + +date --timestamp | export -s TIMESTAMP +export TEMPFILE temp$TIMESTAMP +exists $TEMPFILE && $Error +touch $TEMPFILE +exists $TEMPFILE || $Error +rm $TEMPFILE