You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Johannes 'josch' Schauer 541a6eec8c Instead of using -e, check for error explicitly and dump last lines from stderr log 8 years ago
debian Instead of using -e, check for error explicitly and dump last lines from stderr log 8 years ago
README add README 8 years ago
check.sh check.sh: Only run dpkg-scansources if pkga is source 8 years ago
generate_testcases.sh Add support for source packages 8 years ago

README

Generate test cases like this:

	$ ./generate_testcases.sh

Test a specific case like that:

	$ ./check.sh source pkgc:i386 none all none allowed depends pkgb:any

Check all cases:

	$ ./generate_testcases.sh | while read a b c d e f g h; do ./check.sh $a $b $c $d $e $f $g $h 2>/dev/null; done

Or in parallel:

	$ ./generate_testcases.sh | xargs --max-procs=8 --max-args=8 ./check.sh 2>/dev/null