diff -r 6a2083f7eeb8 -r 2a78c4ff2eab core/builtins/touch.cif --- a/core/builtins/touch.cif Mon Sep 20 16:46:34 2010 +0100 +++ b/core/builtins/touch.cif Wed Oct 13 12:41:05 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