Skip to content

Commit b9854fc

Browse files
committed
tests: change path to config dir
1 parent 616f00d commit b9854fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mock/tests/runconfigs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cd $TOPDIR
1313
if [ "$1" != "" ]; then
1414
configs=$1
1515
else
16-
configs=$(ls etc/mock | grep .cfg | grep -v default | egrep -v 'arm|ppc|s390|sparc|aarch')
16+
configs=$(ls ../mock-core-configs/etc/mock | grep .cfg | grep -v default | egrep -v 'arm|ppc|s390|sparc|aarch')
1717
fi
1818

1919
trap '$MOCKCMD --clean; exit 1' INT HUP QUIT TERM

mock/tests/testenvironment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ VERBOSE=--verbose
1111
testConfig=fedora-26-x86_64
1212
uniqueext="$$-$RANDOM"
1313
outdir=${TOPDIR}/mock-unit-test
14-
cfgdir=${TOPDIR}/etc/mock
14+
cfgdir=${TOPDIR}/../mock-core-configs/etc/mock
1515
#MOCKCMD="sudo ./py/mock.py $VERBOSE --resultdir=$outdir --uniqueext=$uniqueext --configdir=$cfgdir -r $testConfig --plugin-option=root_cache:age_check=False $MOCK_EXTRA_ARGS"
1616
MOCKCMD="mock $VERBOSE --resultdir=$outdir --uniqueext=$uniqueext --configdir=$cfgdir -r $testConfig $MOCK_EXTRA_ARGS"
1717
MOCKCHAIN="mockchain -r $testConfig"

0 commit comments

Comments
 (0)