From f7e659006b1ac001b67e994cdf1bcbc73add35f8 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 8 Jul 2016 23:30:28 +0200 Subject: [PATCH] test/sharness: make sure the string isn't empty License: MIT Signed-off-by: Jakub Sztandera --- test/sharness/t0021-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/t0021-config.sh b/test/sharness/t0021-config.sh index 9fba63def..e3755c1e6 100755 --- a/test/sharness/t0021-config.sh +++ b/test/sharness/t0021-config.sh @@ -98,7 +98,7 @@ test_config_cmd() { test_expect_success "'ipfs config replace' injects privkey back" ' ipfs config replace show_config && - grep "\"PrivKey\":" "$IPFS_PATH/config" | grep -e ": \".*\"" >/dev/null + grep "\"PrivKey\":" "$IPFS_PATH/config" | grep -e ": \".\+\"" >/dev/null ' test_expect_success "'ipfs config replace' with privkey erors out" '