summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2010-12-22 20:18:02 +0000
committerJeff Bilyk <jbilyk@gmail.com>2010-12-22 20:18:02 +0000
commitdc621d4a6f62906ee42343b2e95992221f07a458 (patch)
tree551e38eaeb4ee1e44ab98b33e81b00911f9cc57f
parent996c23ba2904f76603f6a4ecae48b522aba930cd (diff)
downloadapts-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-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/