From 732e792fc6fceb65e215b269564d67700122576f Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 10 Jun 2017 10:33:59 -0700 Subject: [PATCH] rename and fix sharness issue in ptp test License: MIT Signed-off-by: Jeromy --- test/sharness/t0180-p2p.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sharness/t0180-p2p.sh b/test/sharness/t0180-p2p.sh index f56d43b29..ab92315ec 100755 --- a/test/sharness/t0180-p2p.sh +++ b/test/sharness/t0180-p2p.sh @@ -26,8 +26,8 @@ test_expect_success "test ports are closed" ' (! (netstat -ln | grep "LISTEN" | grep ":10102 ")) ' -test_must_fail 'fail without config option being enabled' ' - ipfsi 0 p2p stream ls +test_expect_success 'fail without config option being enabled' ' + test_must_fail ipfsi 0 p2p stream ls ' test_expect_success "enable filestore config setting" '