[Pkg-javascript-devel] Bug#802735: nodejs: add autopkgtests

2015-10-22 Thread dann frazier
Source: nodejs
Version: 4.0.0~dfsg-2
Severity: wishlist
Tags: patch

Attached is a patch to add a couple simple autopkgtests to nodejs.
diff -urpN nodejs-4.0.0~dfsg.orig/debian/control nodejs-4.0.0~dfsg/debian/control
--- nodejs-4.0.0~dfsg.orig/debian/control	2015-09-09 08:10:12.0 -0600
+++ nodejs-4.0.0~dfsg/debian/control	2015-10-22 18:06:56.136009351 -0600
@@ -25,6 +25,7 @@ Standards-Version: 3.9.6
 Homepage: http://nodejs.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/nodejs.git
 Vcs-Git: git://anonscm.debian.org/collab-maint/nodejs.git
+Testsuite: autopkgtest
 
 Package: nodejs-dev
 Section: devel
diff -urpN nodejs-4.0.0~dfsg.orig/debian/tests/control nodejs-4.0.0~dfsg/debian/tests/control
--- nodejs-4.0.0~dfsg.orig/debian/tests/control	1969-12-31 17:00:00.0 -0700
+++ nodejs-4.0.0~dfsg/debian/tests/control	2015-10-22 18:21:37.044234074 -0600
@@ -0,0 +1,6 @@
+Tests: helloworld
+Depends: nodejs, wget
+Restrictions: isolation-container
+
+Test-Command: nodejs -v
+Depends: nodejs
diff -urpN nodejs-4.0.0~dfsg.orig/debian/tests/helloworld nodejs-4.0.0~dfsg/debian/tests/helloworld
--- nodejs-4.0.0~dfsg.orig/debian/tests/helloworld	1969-12-31 17:00:00.0 -0700
+++ nodejs-4.0.0~dfsg/debian/tests/helloworld	2015-10-22 18:30:21.857426281 -0600
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+set -e
+
+TIMEOUT=60 # in seconds
+PORT=1337
+
+js=$(mktemp)
+cleanup() {
+rm -f $js
+}
+trap cleanup EXIT
+
+# "hello world" example from: https://nodejs.org/en/about/
+cat > $js &2
+	kill $nodepid
+	exit 1
+fi
+done
+
+echo "ERROR: nodejs exited unexpectedly" >&2
+
+exit 1
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] node-core-util-is 1.0.1-1 MIGRATED to testing

2015-10-22 Thread Debian testing watch
FYI: The status of the node-core-util-is source package
in Debian's testing distribution has changed.

  Previous version: (not in testing)
  Current version:  1.0.1-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] nodejs 4.2.1~dfsg-2 MIGRATED to testing

2015-10-22 Thread Debian testing watch
FYI: The status of the nodejs source package
in Debian's testing distribution has changed.

  Previous version: 4.1.1~dfsg-3
  Current version:  4.2.1~dfsg-2

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel