core/builtins/touch.cif
changeset 79 f3d01c9dd099
parent 75 3c3961c1ae26
--- a/core/builtins/touch.cif	Mon Sep 20 16:46:34 2010 +0100
+++ b/core/builtins/touch.cif	Wed Sep 22 10:56:39 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