[Pkg-javascript-commits] [Git][js-team/node-rimraf][master] Avoid device error by copying on tmp file for autopkgtest

Bastien Roucariès (@rouca) gitlab at salsa.debian.org
Sat Dec 13 18:32:53 GMT 2025



Bastien Roucariès pushed to branch master at Debian JavaScript Maintainers / node-rimraf


Commits:
5f01ee95 by Bastien Roucariès at 2025-12-13T19:32:00+01:00
Avoid device error by copying on tmp file for autopkgtest

ENOXDEV is raised workarround

- - - - -


3 changed files:

- debian/control
- debian/patches/2001_rename_nodejs.patch
- debian/tests/pkg-js/test


Changes:

=====================================
debian/control
=====================================
@@ -10,6 +10,7 @@ Build-Depends: debhelper-compat (= 13)
  , node-tap <!nocheck>
  , node-typescript
  , ts-node <!nocheck>
+ , rsync <!nocheck>
 Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/js-team/node-rimraf
 Vcs-Git: https://salsa.debian.org/js-team/node-rimraf.git


=====================================
debian/patches/2001_rename_nodejs.patch
=====================================
@@ -6,13 +6,13 @@ Forwarded: not-needed
 Reviewed-By: Xavier Guimard <yadd at debian.org>
 Last-Update: 2020-03-09
 ---
- bin.js | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ src/bin.ts | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
 
-Index: node-rimraf/src/bin.ts
-===================================================================
---- node-rimraf.orig/src/bin.ts	2025-12-13 17:22:04.243686530 +0100
-+++ node-rimraf/src/bin.ts	2025-12-13 17:22:17.807920628 +0100
+diff --git a/src/bin.ts b/src/bin.ts
+index 86163a9..cb0de6b 100755
+--- a/src/bin.ts
++++ b/src/bin.ts
 @@ -1,4 +1,5 @@
 -#!/usr/bin/env node
 +#!/usr/bin/node


=====================================
debian/tests/pkg-js/test
=====================================
@@ -1 +1,6 @@
+TMPDIR=$(mktemp -d)
+rsync -av . '$TMPDIR'
+cd '$TMPDIR'
 tap -R spec --no-cov --node-arg=-r --node-arg=ts-node/register test/*.js
+cd /tmp
+rm -rf '$TMPDIR'
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/js-team/node-rimraf/-/commit/5f01ee956e5259ce072e9c9ef14822a9d65690b3

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-rimraf/-/commit/5f01ee956e5259ce072e9c9ef14822a9d65690b3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20251213/05cd5cb3/attachment-0001.htm>


More information about the Pkg-javascript-commits mailing list