diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-08-14 00:25:57 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-08-14 00:25:57 +0200 |
commit | 7d0627b62aa24b970f18d52be8576c314556b680 (patch) | |
tree | d6ec1ad792025b3e8971ab9ade510e9c01c842a4 /test/integration/framework | |
parent | f824d95cacb53fc24a775a6a13feb2f8c7ae2ace (diff) |
add a small script to automate the task of creating Packages and status
files for tests with "real" problems
Diffstat (limited to 'test/integration/framework')
-rw-r--r-- | test/integration/framework | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework index b4e9302e8..f01bb989b 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -36,7 +36,11 @@ msgdone() { if [ "$1" = "debug" -o "$1" = "info" ]; then true; else echo "${CDON runapt() { msgdebug "Executing: ${CCMD}$*${CDEBUG} " - APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/$* + if [ -f ./aptconfig.conf ]; then + APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/$* + else + LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/$* + fi } aptconfig() { runapt apt-config $*; } aptcache() { runapt apt-cache $*; } |