core/builtins/touch.cif
changeset 75 3c3961c1ae26
parent 0 7f656887cf89
--- 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