From: Marco van Wieringen Date: Thu, 27 Oct 2011 17:29:55 +0000 (+0200) Subject: Fix regression on Solaris. X-Git-Tag: Release-7.0.0~519 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=028b6bf0bdac5d8a9462665418019f0694029036;p=bacula%2Fbacula Fix regression on Solaris. --- 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