fixtures/scripts/push-and-pull.sh in zold-0.5 vs fixtures/scripts/push-and-pull.sh in zold-0.6

- old
+ new

@@ -7,11 +7,13 @@ port=`python -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` mkdir server cd server -zold --trace node --host=localhost --port=${port} --bind-port=${port} --threads=0 --standalone & +zold --trace node --invoice=NOPREFIX@ffffffffffffffff \ + --host=localhost --port=${port} --bind-port=${port} \ + --threads=0 --standalone & pid=$! trap "kill -9 $pid" EXIT cd .. while ! nc -z localhost ${port}; do @@ -21,13 +23,13 @@ zold --trace remote clean zold --trace remote add localhost ${port} zold --trace remote show -zold --trace --public-key id_rsa.pub create 0000000000000000 -target=`zold --public-key id_rsa.pub create` +zold --trace create --public-key=id_rsa.pub 0000000000000000 +target=`zold create --public-key=id_rsa.pub` invoice=`zold invoice ${target}` -zold --trace --private-key id_rsa pay 0000000000000000 ${invoice} 14.99 'To save the world!' +zold --trace pay --private-key=id_rsa 0000000000000000 ${invoice} 14.99 'To save the world!' zold --trace propagate 0000000000000000 zold --trace show zold --trace show 0000000000000000 zold --trace remote show