From 028b6bf0bdac5d8a9462665418019f0694029036 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Thu, 27 Oct 2011 19:29:55 +0200 Subject: [PATCH] Fix regression on Solaris. --- regress/tests/hardlink-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/tests/hardlink-test b/regress/tests/hardlink-test index 8b82e81fe1..6ee0e6b5ef 100755 --- a/regress/tests/hardlink-test +++ b/regress/tests/hardlink-test @@ -86,7 +86,7 @@ if [ $? -eq 0 ]; then estat=1 fi -nb=`awk '/\| +[1-9]/ { print $0 } ' $tmp/log4.out | wc -l` +nb=`awk '/\| +[1-9]/ { print $0 } ' $tmp/log4.out | wc -l | sed -e 's/^ *//'` if [ "$nb" != 1 ]; then print_debug "ERROR: All selected hardlinks should have the same checksum" estat=1 -- 2.39.5