Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b0d0bea2b077052b401ea109a7ea9be62cedab7e

commit b0d0bea2b077052b401ea109a7ea9be62cedab7e
Author: DeX77 <[email protected]>
Date:   Thu Nov 26 11:49:15 2015 +0100

* fix to test all archs
* speedup for test of invalid usr/etc

diff --git a/t/etc b/t/etc
index 6b26a8b..c7f5e58 100755
--- a/t/etc
+++ b/t/etc
@@ -5,9 +5,5 @@ if [ "$1" ==  "--help" ]; then
exit 1
fi

-cd ../frugalware-i686
-for i in $(ls|grep fpm$)
-do
-        pacman-g2 -Ql -p "$i" |grep -q usr/etc && echo $i
-done
-
+find ../frugalware-* -type f -name "*.fpm" -print0 | xargs -0 -n 100 -P 16 
-I{} \
+       bash -c "pacman-g2 -Ql -p {} | grep -q usr/etc && echo {}"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to