File: fixtest.patch

package info (click to toggle)
node-fstream 1.0.10-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 220 kB
  • sloc: makefile: 5
file content (15 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: fix reader test expecting shadow to not be readable
Last-Update: 2016-11-17
Author: Jérémy Lal <kapouer@melix.org>
Forwarded: not-needed, it's some autopkgtest oddity
--- a/examples/reader.js
+++ b/examples/reader.js
@@ -54,7 +54,7 @@
 
 tap.test('reader error test', function (t) {
   // assumes non-root on a *nix system
-  var r = fstream.Reader({ path: '/etc/shadow' })
+  var r = fstream.Reader({ path: '/root' })
 
   r.once('error', function (er) {
     t.ok(true)