From 0263abb04740bd2fc3f43916e1fc4a9d20a39646 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Wed, 12 Oct 2011 14:59:36 +0000 Subject: [PATCH] fixed .svn dir issue with assert_no_diff_dir git-svn-id: http://biopieces.googlecode.com/svn/trunk@1548 74ccb610-7750-0410-82ae-013aeee3265d --- bp_test/lib/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.5