Browse Source

[3422] Corrected path to test script for dhcp4/6

distcheck was failing to tests/dhcp(4/6)_process_tests.sh.
Since these files are now constructed from a .in file,
they must be pathed in abs_builddir.
dhcp(4/6)/tests/Makefile.am updated.
Thomas Markwalder 11 years ago
parent
commit
3e501e1f63
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/bin/dhcp4/tests/Makefile.am
  2. 1 1
      src/bin/dhcp6/tests/Makefile.am

+ 1 - 1
src/bin/dhcp4/tests/Makefile.am

@@ -34,7 +34,7 @@ check-local:
 	for shtest in $(SHTESTS) ; do \
 	echo Running test: $$shtest ; \
 	export B10_LOCKFILE_DIR_FROM_BUILD=$(abs_top_builddir); \
-	${SHELL} $(abs_srcdir)/$$shtest || exit ; \
+	${SHELL} $(abs_builddir)/$$shtest || exit ; \
 	done
 
 

+ 1 - 1
src/bin/dhcp6/tests/Makefile.am

@@ -33,7 +33,7 @@ check-local:
 	for shtest in $(SHTESTS) ; do \
 	echo Running test: $$shtest ; \
 	export B10_LOCKFILE_DIR_FROM_BUILD=$(abs_top_builddir); \
-	${SHELL} $(abs_srcdir)/$$shtest || exit ; \
+	${SHELL} $(abs_builddir)/$$shtest || exit ; \
 	done