diff options
-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/ |