commands/clipboard/clipboard.cif
changeset 79 f3d01c9dd099
parent 70 b06038904ef8
--- a/commands/clipboard/clipboard.cif	Mon Sep 20 16:46:34 2010 +0100
+++ b/commands/clipboard/clipboard.cif	Wed Sep 22 10:56:39 2010 +0100
@@ -24,7 +24,16 @@
 
 Read the text from C<stdin> instead of from the command line.
 
+==smoke-test
+
+clipboard "Test data"
+clipboard | export -s RESULT
+var RESULT == "Test data" || $Error
+
+echo "$RESULT" | clipboard --stdin
+clipboard | export -s RES2
+var RES2 == "Test data^r^n" || $Error
+
 ==copyright
 
 Copyright (c) 2008-2010 Accenture. All rights reserved.
-