commands/clipboard/clipboard.cif
changeset 66 2a78c4ff2eab
parent 0 7f656887cf89
--- a/commands/clipboard/clipboard.cif	Mon Sep 20 16:46:34 2010 +0100
+++ b/commands/clipboard/clipboard.cif	Wed Oct 13 12:41:05 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.
-