aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-02 11:31:47 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-10-02 11:33:17 +0300
commita0c36d6b93c029d2a99e421ef573a97c4d20fe00 (patch)
treeea1ab7a33bff1e88548a15740882f6dc98cce2ef /tests
parentfc8a00e8ef3721631882815066dad33748c7f518 (diff)
downloaddirevent-a0c36d6b93c029d2a99e421ef573a97c4d20fe00.tar.gz
direvent-a0c36d6b93c029d2a99e421ef573a97c4d20fe00.tar.bz2
Fix the testsuite, bump version number
* configure.ac: Update version number. * NEWS: Update version number. * tests/Makefile.am: Distribute printname. * tests/printname: New file. * tests/atlocal.in (SRCDIR): New variable. * tests/createrec.at: Fix path to printname.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/atlocal.in1
-rw-r--r--tests/createrec.at2
-rwxr-xr-xtests/printname2
4 files changed, 5 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ee5fd4f..cddecd3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with Dircond. If not, see <http://www.gnu.org/licenses/>.
-EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4
+EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4 printname
DISTCLEANFILES = atconfig $(check_SCRIPTS)
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
diff --git a/tests/atlocal.in b/tests/atlocal.in
index c91afc7..7f908d8 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -3,5 +3,6 @@
# Copyright (C) 2012, 2013 Sergey Poznyakoff
PATH=@abs_builddir@:@abs_top_builddir@/src:@abs_top_srcdir@/build-aux:$top_srcdir:$srcdir:$PATH
+SRCDIR=@abs_top_srcdir@/tests
TESTDIR=@abs_top_builddir@/tests
#TESTSUITE_FACILITY=@TESTSUITE_FACILITY@ \ No newline at end of file
diff --git a/tests/createrec.at b/tests/createrec.at
index 95916dd..d9d88e8 100644
--- a/tests/createrec.at
+++ b/tests/createrec.at
@@ -40,7 +40,7 @@ syslog {
watcher {
path $cwd/dir recursive;
event create;
- command "$TESTDIR/printname $outfile";
+ command "$SRCDIR/printname $outfile";
option (stdout,stderr);
}
EOT
diff --git a/tests/printname b/tests/printname
new file mode 100755
index 0000000..52aea45
--- /dev/null
+++ b/tests/printname
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo `pwd`/$DIRCOND_FILE >> $1

Return to:

Send suggestions and report system problems to the System administrator.