use suffix instead of hardcoded number
the hardcoded number is wrong for 2-DVD, use suffix variable instead.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# common part
|
||||
## common part
|
||||
#ifdef __x86_64__
|
||||
system x86_64 rpm
|
||||
#endif
|
||||
#ifdef __ppc64le__
|
||||
system ppc64le rpm
|
||||
#endif
|
||||
namespace namespace:language(en_US) @SYSTEM
|
||||
|
||||
job install provides pattern() = apparmor
|
||||
|
@@ -43,7 +43,7 @@ function regenerate_pl() {
|
||||
echo "repo $i 0 solv $i.solv" >> $tcfile
|
||||
fi
|
||||
done
|
||||
cpp -E -U__ppc64__ -U__x86_64__ -D__$arch\__ $SCRIPTDIR/create_test_$target\_dvd-1.testcase >> $tcfile
|
||||
cpp -E -U__ppc64__ -U__x86_64__ -D__$arch\__ $SCRIPTDIR/create_test_$target\_dvd-$suffix.testcase >> $tcfile
|
||||
|
||||
out=$(mktemp)
|
||||
testsolv -r $tcfile > $out
|
||||
|
Reference in New Issue
Block a user