diff -r 6a2083f7eeb8 -r 2a78c4ff2eab commands/clipboard/clipboard.cif --- 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 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. -