[pkg-perl-tools] 02/02: Weed out comments in debian/tests/pkg-perl/smoke-tests

Axel Beckert abe at deuxchevaux.org
Thu Apr 21 20:49:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository pkg-perl-tools.

commit b1bdb8a0c81d6c03bc9e3e2d876d68d53ae24f78
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Apr 21 22:48:43 2016 +0200

    Weed out comments in debian/tests/pkg-perl/smoke-tests
---
 autopkgtest/scripts/build-deps.d/smoke | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autopkgtest/scripts/build-deps.d/smoke b/autopkgtest/scripts/build-deps.d/smoke
index 3edb17d..f21e8c4 100755
--- a/autopkgtest/scripts/build-deps.d/smoke
+++ b/autopkgtest/scripts/build-deps.d/smoke
@@ -120,7 +120,7 @@ fi
 tests_file=$(pwd)/debian/tests/pkg-perl/smoke-tests
 cd $TDIR
 if [ -r $tests_file ]; then
-    test_targets=$(eval ls -d $(cat $tests_file) 2>/dev/null || true)
+    test_targets=$(eval ls -d $(egrep -v '^#' $tests_file) 2>/dev/null || true)
 fi
 
 if command -v xvfb-run >/dev/null

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list