svn commit: r263868 - user/jmmv/autotest/node

Julio Merino jmmv at FreeBSD.org
Fri Mar 28 08:23:39 UTC 2014


Author: jmmv
Date: Fri Mar 28 08:23:39 2014
New Revision: 263868
URL: http://svnweb.freebsd.org/changeset/base/263868

Log:
  Skip host.conf when auto-detecting config files for iterate.sh.
  
  This is a hack, but is the easiest to get out of a little problem in the
  configuration...

Modified:
  user/jmmv/autotest/node/loop.sh

Modified: user/jmmv/autotest/node/loop.sh
==============================================================================
--- user/jmmv/autotest/node/loop.sh	Fri Mar 28 05:06:12 2014	(r263867)
+++ user/jmmv/autotest/node/loop.sh	Fri Mar 28 08:23:39 2014	(r263868)
@@ -78,7 +78,8 @@ the_loop() {
         shtk_cli_info "Iteration started on $(date)"
 
         if shtk_bool_check "${autoconfigs}"; then
-            set -- $(echo "${AUTOTEST_ETCDIR}/*.conf")
+            set -- $(echo "${AUTOTEST_ETCDIR}/*.conf" | fmt -n 1 \
+	             | grep -v host.conf)
             shtk_cli_info "Discovered config files: ${*}"
         fi
 


More information about the svn-src-user mailing list