[Pkg-javascript-commits] [node-jsonstream] 04/06: Fix cli
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Apr 16 22:14:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-jsonstream.
commit e05be6a846fbb408523ec90c9efa700aef1f7769
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Sat Apr 15 18:39:05 2017 +0200
Fix cli
---
debian/tests/require | 2 +-
debian/tests/runtestsuite | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/tests/require b/debian/tests/require
index 371ce20..b567e97 100644
--- a/debian/tests/require
+++ b/debian/tests/require
@@ -1,3 +1,3 @@
#!/bin/sh
set -e
-nodejs -e "require('jsonstream');"
+nodejs -e "require('JSONStream');"
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index b576bbd..5c1c4f6 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
# notice the / at end in order to load this module
-PACKAGE='console-browserify'
+PACKAGE='JSONStream'
SEDCMD="s,require\s*[(]\s*[\"'][.][.][^']*[\"']\s*[)],require('$PACKAGE'),g"
tmpdir=$(mktemp -d)
@@ -14,5 +14,5 @@ find test -maxdepth 1 -name '*.js' -print0 | \
# this test write to stderr redirect to stdout
for TEST in test/browser.js test/map.js test/null.js; do
- tape $TEST;
+ tape $tmpdir/$TEST;
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jsonstream.git
More information about the Pkg-javascript-commits
mailing list