Commit 3562e72d authored by Christian Couder's avatar Christian Couder

t0062: add missing && in test_client*()

License: MIT
Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
parent cbeff099
......@@ -19,14 +19,14 @@ test_expect_success "config setup" '
'
test_client() {
printf "$peerid" >expected
ipfs "$@" id -f="<id>" >actual
printf "$peerid" >expected &&
ipfs "$@" id -f="<id>" >actual &&
test_cmp expected actual
}
test_client_must_fail() {
echo "Error: api not running" >expected_err
test_must_fail ipfs "$@" id -f="<id>" >actual 2>actual_err
echo "Error: api not running" >expected_err &&
test_must_fail ipfs "$@" id -f="<id>" >actual 2>actual_err &&
test_cmp expected_err actual_err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment