summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapts6
-rw-r--r--apts.conf1
2 files changed, 7 insertions, 0 deletions
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/