diff -r 5b2eab065888 -r b06038904ef8 commands/clipboard/clipboard.cif --- a/commands/clipboard/clipboard.cif Thu Sep 09 19:21:34 2010 +0100 +++ b/commands/clipboard/clipboard.cif Wed Sep 15 00:44:34 2010 +0100 @@ -24,7 +24,16 @@ Read the text from C 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. -