[Pkg-javascript-commits] [node-errno] 01/04: Fix testsuite
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Apr 13 10:53:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-errno.
commit d9b39535ded375892ab64378ff9e31d18cc26e2a
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Thu Apr 13 12:49:15 2017 +0200
Fix testsuite
---
debian/tests/control | 2 +-
debian/tests/runtestsuite | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/tests/control b/debian/tests/control
index be97dbe..7750a78 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
Tests: require
Depends: node-errno
-Test-Command: runtestsuite
+Tests: runtestsuite
Depends: @
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index df09f01..6526b8a 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -8,7 +8,7 @@ SEDCMD="s,require\s*[(]\s*'[.]/?([^']*)'\s*[)],require('$PACKAGE/\1'),g"
tmpdir=$(mktemp -d)
trap 'rm -rf "$tmpdir"' EXIT INT TERM HUP
-cp -r test.js $tmpdir
+cp test.js $tmpdir
find . -name 'test.js' -print0 | \
xargs -0 -n1 \
sh -c 'set -e; echo "Create: $3"; sed -E "$1" < "$3" > "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-errno.git
More information about the Pkg-javascript-commits
mailing list