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" '