From 86bce23e53e6cc89ed5104b21a5fe33fab5a7a9f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 24 Apr 2008 23:05:14 +0000 Subject: The wallet command-line client now reads the data for store from a file (using -f) or from standard input (if -f wasn't given) when the data isn't specified on the command line. The data still must not contain nul characters. --- tests/data/cmd-fake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/data') diff --git a/tests/data/cmd-fake b/tests/data/cmd-fake index d12f839..3ffd9cc 100755 --- a/tests/data/cmd-fake +++ b/tests/data/cmd-fake @@ -130,6 +130,13 @@ get) ;; esac ;; +store) + if [ -n "$3" ] ; then + echo "Too many arguments" >&2 + exit 1 + fi + printf "$type $1\n$2" > store-output + ;; show) if [ -n "$2" ] ; then echo "Too many arguments" >&2 -- cgit v1.2.3