Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5563e18e7575b85c77ee31fb38124f8ca4f7157d
commit 5563e18e7575b85c77ee31fb38124f8ca4f7157d Author: DeX77 <[email protected]> Date: Thu Nov 26 16:11:40 2015 +0100 * speedup for up2date test diff --git a/t/up2date b/t/up2date index 7aa4f03..5564b81 100755 --- a/t/up2date +++ b/t/up2date @@ -5,9 +5,9 @@ if [ "$1" == "--help" ]; then exit 1 fi -for fb in $(find ../source -name FrugalBuild) -do - dir=$(echo $fb|sed 's/\/\F.*//;s/.*\///') - sh -x -c "source /usr/lib/frugalware/fwmakepkg; source $fb" 2>&1|grep -q '+ lynx' && \ - echo "$dir is buggy (`grep Maintainer $fb |sed 's/.*: //'`)" -done +find ../source -type f -name FrugalBuild -print0 | xargs -0 -n 1 -I{} -P16 \ + bash -c "egrep -q \"^up2date=.*lynx\" {} && \ + grep -q Maintainer {} && \ + ( echo -n \"{} is using lynx in up2date \" && \ + grep -m 1 Maintainer {} | sed 's/.*: //' ) | sed 's/..\/source\/\(.*\)\/\(.*\)\/FrugalBuild/\2/' " + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
