From dc621d4a6f62906ee42343b2e95992221f07a458 Mon Sep 17 00:00:00 2001 From: Jeff Bilyk Date: Wed, 22 Dec 2010 20:18:02 +0000 Subject: apts: add apts.conf which contains directory where apts tests are add apts.conf which contains directory where apts tests are --- apts | 6 ++++++ apts.conf | 1 + 2 files changed, 7 insertions(+) create mode 100644 apts.conf diff --git a/apts b/apts index 8cf4a0c..92b7b6c 100755 --- a/apts +++ b/apts @@ -36,6 +36,12 @@ shift $(( $OPTIND - 1 )) # shift once more shift +# Get directory with test files +. /etc/apts/apts.conf + +# CD to test file dir +echo $TESTSDIR + # if there aren't any args besides outfile test all packages if [ $# -eq 0 ]; then i=1 && totaltests=`ls ./tests/ | wc -w` && echo "All (${totaltests}) packages to be tested" && passedtests="0" && for package in `ls ./tests/`; diff --git a/apts.conf b/apts.conf new file mode 100644 index 0000000..4caf878 --- /dev/null +++ b/apts.conf @@ -0,0 +1 @@ +TESTSDIR=/usr/share/apts/ -- cgit v1.2.3