From d16c23e43f4c0e61746e561bc2d9dfbce6877201 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Fri, 15 Jan 2016 09:52:31 +0100 Subject: [PATCH] t0081: fix greping pin type License: MIT Signed-off-by: Christian Couder --- test/sharness/t0081-repo-pinning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/t0081-repo-pinning.sh b/test/sharness/t0081-repo-pinning.sh index f57a8630392f..8b0d2bcdb059 100755 --- a/test/sharness/t0081-repo-pinning.sh +++ b/test/sharness/t0081-repo-pinning.sh @@ -17,7 +17,7 @@ test_pin_flag() { echo "test_pin_flag" $@ - ipfs-pin-stat "$object" | grep "$ptype" + ipfs-pin-stat "$object" | egrep "\b$ptype\b" actual=$? if [ "$expect" = "true" ]; then