From: Marco van Wieringen Date: Thu, 27 Oct 2011 17:29:55 +0000 (+0200) Subject: Fix regression on Solaris. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19b91d8059b933a35c362ea2f87a8269021b3be7;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