From: martinahansen Date: Wed, 12 Oct 2011 14:59:36 +0000 (+0000) Subject: fixed .svn dir issue with assert_no_diff_dir X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0263abb04740bd2fc3f43916e1fc4a9d20a39646;p=biopieces.git fixed .svn dir issue with assert_no_diff_dir git-svn-id: http://biopieces.googlecode.com/svn/trunk@1548 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_test/lib/test.sh b/bp_test/lib/test.sh index 75f2358..bc3c2a8 100755 --- a/bp_test/lib/test.sh +++ b/bp_test/lib/test.sh @@ -76,8 +76,8 @@ function assert_no_diff_dir return fi - local src_cksum=`find $src_dir -type f | xargs cat | cksum` - local dst_cksum=`find $dst_dir -type f | xargs cat | cksum` + local src_cksum=`find $src_dir -type f | grep -v "\.svn" | xargs cat | cksum` + local dst_cksum=`find $dst_dir -type f | grep -v "\.svn" | xargs cat | cksum` if [ "$src_cksum" == "$dst_cksum" ]; then echo_green "OK"