diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-22 20:18:02 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-22 20:18:02 +0000 |
commit | dc621d4a6f62906ee42343b2e95992221f07a458 (patch) | |
tree | 551e38eaeb4ee1e44ab98b33e81b00911f9cc57f | |
parent | 996c23ba2904f76603f6a4ecae48b522aba930cd (diff) | |
download | apts-dc621d4a6f62906ee42343b2e95992221f07a458.tar.bz2 apts-dc621d4a6f62906ee42343b2e95992221f07a458.tar.xz |
apts: add apts.conf which contains directory where apts tests are
add apts.conf which contains directory where apts tests are
-rwxr-xr-x | apts | 6 | ||||
-rw-r--r-- | apts.conf | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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/ |