From 230d68d7565616360c98b9896c1a9cb02c242b0f Mon Sep 17 00:00:00 2001 From: vyzo Date: Sun, 19 Nov 2017 16:29:05 +0200 Subject: [PATCH] namesys/pubsub: fix sharness test for broken MacOS echo echo -n "" should print -n, but hey it's a mac. License: MIT Signed-off-by: vyzo --- test/sharness/t0183-namesys-pubsub.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/t0183-namesys-pubsub.sh b/test/sharness/t0183-namesys-pubsub.sh index 130e4c500b2..f4684af4c70 100755 --- a/test/sharness/t0183-namesys-pubsub.sh +++ b/test/sharness/t0183-namesys-pubsub.sh @@ -66,7 +66,7 @@ test_expect_success 'cancel subscriptions to the publisher topic' ' ' test_expect_success 'check subscriptions' ' - echo -n "" > expected && + rm -f expected && touch expected && ipfsi 1 name pubsub subs > subs1 && ipfsi 2 name pubsub subs > subs2 && test_cmp expected subs1 &&