From 3562e72d8eb09fc337d583f5936e7782cf8519c2 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sat, 29 Aug 2015 22:30:37 +0200 Subject: [PATCH] t0062: add missing && in test_client*() License: MIT Signed-off-by: Christian Couder --- test/sharness/t0062-daemon-api.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/sharness/t0062-daemon-api.sh b/test/sharness/t0062-daemon-api.sh index 8ba8faeb5..5cbdc460f 100755 --- a/test/sharness/t0062-daemon-api.sh +++ b/test/sharness/t0062-daemon-api.sh @@ -19,14 +19,14 @@ test_expect_success "config setup" ' ' test_client() { - printf "$peerid" >expected - ipfs "$@" id -f="" >actual + printf "$peerid" >expected && + ipfs "$@" id -f="" >actual && test_cmp expected actual } test_client_must_fail() { - echo "Error: api not running" >expected_err - test_must_fail ipfs "$@" id -f="" >actual 2>actual_err + echo "Error: api not running" >expected_err && + test_must_fail ipfs "$@" id -f="" >actual 2>actual_err && test_cmp expected_err actual_err }