From: Kern Sibbald Date: Mon, 13 Jul 2009 20:48:08 +0000 (+0000) Subject: add -u to diff X-Git-Tag: Release-7.0.0~2888 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f29b06ca150ae205955ea76ded913eaaf62627d;p=bacula%2Fbacula add -u to diff git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8981 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/copy-upgrade-test b/regress/tests/copy-upgrade-test index 4a7282ca41..ed8a7b8d16 100755 --- a/regress/tests/copy-upgrade-test +++ b/regress/tests/copy-upgrade-test @@ -176,7 +176,7 @@ awk '/You have selected the following JobIds:/ { print $7 }' \ awk '/should restore with/ { print $5 }' \ ${cwd}/tmp/log2.out > ${cwd}/tmp/should -diff ${cwd}/tmp/real ${cwd}/tmp/should +diff -u ${cwd}/tmp/real ${cwd}/tmp/should if [ $? -ne 0 ]; then print_debug "Bad job selection!!!" rstat=2