From: Alain Spineux Date: Thu, 20 Oct 2022 13:55:34 +0000 (+0200) Subject: regress: tweak async & asyncregress.sh to exclude core and .gdb_history X-Git-Tag: Beta-15.0.0~397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7c34caac2489c8b9b170979dd55bed3cd5ef07;p=thirdparty%2Fbacula.git regress: tweak async & asyncregress.sh to exclude core and .gdb_history --- diff --git a/regress/scripts/async.sh b/regress/scripts/async.sh index 2d1182be7..e2e1eab9a 100755 --- a/regress/scripts/async.sh +++ b/regress/scripts/async.sh @@ -54,7 +54,7 @@ fi #rsync -av ${BACULA_SOURCE}/ build/ --exclude examples/ --exclude patches/ --exclude src/win32 || die "rsync failed" echo rsyncing ... -rsync -av --stats --exclude examples/ --exclude patches/ --exclude src/win32 --exclude src/config.h --exclude src/hosts.h --exclude src/version.h --include '*/' --include "*.c" --include "*.cc" --include '*.cpp' --include '*.h' --exclude '*' ${BACULA_SOURCE}/ build/ 2>&1 || die "rsync failed" +rsync -av --stats --exclude core --exclude .gdb_history --exclude examples/ --exclude patches/ --exclude src/win32 --exclude src/config.h --exclude src/hosts.h --exclude src/version.h --include '*/' --include "*.c" --include "*.cc" --include '*.cpp' --include '*.h' --exclude '*' ${BACULA_SOURCE}/ build/ 2>&1 || die "rsync failed" if grep "Number of files transferred: 0" tmp/rsync.log > /dev/null && check_bin bin; then echo "No Changes in sources" diff --git a/regress/scripts/asyncregress.sh b/regress/scripts/asyncregress.sh index 10f37d52d..0c342832e 100755 --- a/regress/scripts/asyncregress.sh +++ b/regress/scripts/asyncregress.sh @@ -26,5 +26,5 @@ for d in scripts tests win32 ; do rsync -av ${src}/ ${d}/ done # rsync the top of regress/ directory -rsync -dlptgoDv --exclude config ${regress_dir}/* . +rsync -dlptgoDv --exclude core --exclude .gdb_history --exclude config ${regress_dir}/* .