{"action":"created","issue":{"url":"https://api.github.com/repos/npm/node-tar/issues/55","labels_url":"https://api.github.com/repos/npm/node-tar/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/npm/node-tar/issues/55/comments","events_url":"https://api.github.com/repos/npm/node-tar/issues/55/events","html_url":"https://github.com/npm/node-tar/issues/55","id":67100275,"number":55,"title":"a5337a6 breaks tests","user":{"login":"terotil","id":47033,"avatar_url":"https://avatars.githubusercontent.com/u/47033?v=3","gravatar_id":"","url":"https://api.github.com/users/terotil","html_url":"https://github.com/terotil","followers_url":"https://api.github.com/users/terotil/followers","following_url":"https://api.github.com/users/terotil/following{/other_user}","gists_url":"https://api.github.com/users/terotil/gists{/gist_id}","starred_url":"https://api.github.com/users/terotil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terotil/subscriptions","organizations_url":"https://api.github.com/users/terotil/orgs","repos_url":"https://api.github.com/users/terotil/repos","events_url":"https://api.github.com/users/terotil/events{/privacy}","received_events_url":"https://api.github.com/users/terotil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T10:35:20Z","updated_at":"2015-04-08T17:20:55Z","closed_at":null,"body":"Test run for 5da515d passes but a5337a6 does not (nor does v2.0.0 for that matter)\r\n\r\n```\r\ntero@fasaani:~/src/node-tar$ git checkout 5da515d\r\nNote: checking out '5da515d'.\r\n\r\nYou are in 'detached HEAD' state. You can look around, make experimental\r\nchanges and commit them, and you can discard any commits you make in this\r\nstate without impacting any branches by performing another checkout.\r\n\r\nIf you want to create a new branch to retain commits you create, you may\r\ndo so (now or later) by using -b with the checkout command again. Example:\r\n\r\n  git checkout -b new_branch_name\r\n\r\nHEAD is now at 5da515d... Emit finish from Extract when finished.\r\ntero@fasaani:~/src/node-tar$ npm run test\r\n\r\n> tar@1.0.3 test /home/tero/src/node-tar\r\n> tap test/*.js\r\n\r\nfixtures/\r\nfixtures/200.tar\r\nfixtures/200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\r\nfixtures/200L.hex\r\nfixtures/200longlink.tar\r\nfixtures/200longname.tar\r\nfixtures/a.hex\r\nfixtures/a.tar\r\nfixtures/a.txt\r\nfixtures/b.hex\r\nfixtures/b.tar\r\nfixtures/b.txt\r\nfixtures/c.hex\r\nfixtures/c.tar\r\nfixtures/c.txt\r\nfixtures/cc.txt\r\nfixtures/dir/\r\nfixtures/dir.tar\r\nfixtures/foo.hex\r\nfixtures/foo.js\r\nfixtures/foo.tar\r\nfixtures/hardlink-1\r\nfixtures/hardlink-2\r\nfixtures/omega.hex\r\nfixtures/omega.tar\r\nfixtures/omega.txt\r\nfixtures/omegapax.tar\r\nfixtures/packtest/\r\nfixtures/r/\r\nfixtures/Ω.txt\r\nfixtures/r/e/\r\nfixtures/r/e/a/\r\nfixtures/r/e/a/l/\r\nfixtures/r/e/a/l/l/\r\nfixtures/r/e/a/l/l/y/\r\nfixtures/r/e/a/l/l/y/-/\r\nfixtures/r/e/a/l/l/y/-/d/\r\nfixtures/r/e/a/l/l/y/-/d/e/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/\r\ntar: Ignoring unknown extended header keyword 'SCHILY.dev'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.ino'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.nlink'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.dev'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.ino'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.nlink'\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\r\nfixtures/packtest/omega.txt\r\nfixtures/packtest/star.4.html\r\ntar: Ignoring unknown extended header keyword 'SCHILY.dev'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.ino'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.nlink'\r\nfixtures/packtest/Ω.txt\r\nfixtures/dir/sub/\r\nok test/00-setup-fixtures.js ............................ 4/4\r\nslow chmod /home/tero/src/node-tar/test/tmp/extract-test/dir\r\nslow utimes /home/tero/src/node-tar/test/tmp/extract-test/dir\r\nslow chmod /home/tero/src/node-tar/test/tmp/extract-test/dir/sub\r\nslow utimes /home/tero/src/node-tar/test/tmp/extract-test/dir/sub\r\nok test/extract-move.js ................................. 5/5\r\nok test/extract.js .................................... 45/45\r\nok test/header.js ..................................... 22/22\r\nok test/pack-no-proprietary.js ...................... 201/201\r\nok test/pack.js ..................................... 204/204\r\nok test/parse.js ...................................... 43/43\r\nok test/zz-cleanup.js ................................... 3/3\r\ntotal ............................................... 527/527\r\n\r\nok\r\ntero@fasaani:~/src/node-tar$ git checkout master\r\nPrevious HEAD position was 5da515d... Emit finish from Extract when finished.\r\nSwitched to branch 'master'\r\nYour branch is up-to-date with 'origin/master'.\r\ntero@fasaani:~/src/node-tar$ npm run test\r\n\r\n> tar@2.0.0 test /home/tero/src/node-tar\r\n> tap test/*.js\r\n\r\nfixtures/\r\nfixtures/200.tar\r\nfixtures/200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\r\nfixtures/200L.hex\r\nfixtures/200longlink.tar\r\nfixtures/200longname.tar\r\nfixtures/a.hex\r\nfixtures/a.tar\r\nfixtures/a.txt\r\nfixtures/b.hex\r\nfixtures/b.tar\r\nfixtures/b.txt\r\nfixtures/c.hex\r\nfixtures/c.tar\r\nfixtures/c.txt\r\nfixtures/cc.txt\r\nfixtures/dir/\r\nfixtures/dir.tar\r\nfixtures/foo.hex\r\nfixtures/foo.js\r\nfixtures/foo.tar\r\nfixtures/hardlink-1\r\nfixtures/hardlink-2\r\nfixtures/omega.hex\r\nfixtures/omega.tar\r\nfixtures/omega.txt\r\nfixtures/omegapax.tar\r\nfixtures/packtest/\r\nfixtures/r/\r\nfixtures/Ω.txt\r\nfixtures/r/e/\r\nfixtures/r/e/a/\r\nfixtures/r/e/a/l/\r\nfixtures/r/e/a/l/l/\r\nfixtures/r/e/a/l/l/y/\r\nfixtures/r/e/a/l/l/y/-/\r\nfixtures/r/e/a/l/l/y/-/d/\r\nfixtures/r/e/a/l/l/y/-/d/e/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/\r\ntar: Ignoring unknown extended header keyword 'SCHILY.dev'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.ino'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.nlink'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.dev'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.ino'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.nlink'\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/\r\nfixtures/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\r\nfixtures/packtest/omega.txt\r\nfixtures/packtest/star.4.html\r\ntar: Ignoring unknown extended header keyword 'SCHILY.dev'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.ino'\r\ntar: Ignoring unknown extended header keyword 'SCHILY.nlink'\r\nfixtures/packtest/Ω.txt\r\nfixtures/dir/sub/\r\nok test/00-setup-fixtures.js ............................ 4/4\r\nnot ok test/dir-normalization.js ........................ 7/9\r\n    Command: \"/usr/bin/nodejs dir-normalization.js\"\r\n    TAP version 13\r\n    ok 1 cleaned!\r\n    ok 2 tar entry 1 fixtures/\r\n    ok 3 tar entry 2 fixtures/the-chumbler\r\n    ok 4 should see 2 entries\r\n    ok 5 unpacked file 1\r\n    ok 6 unpacked file 2 /fixtures\r\n    not ok 7 unpacked file 3 /fixtures/the-chumbler\r\n      ---\r\n        file:   /home/tero/src/node-tar/test/dir-normalization.js\r\n        line:   131\r\n        column: 9\r\n        stack:  \r\n          - |\r\n            getCaller (/home/tero/src/node-tar/node_modules/tap/lib/tap-assert.js:439:17)\r\n          - |\r\n            assert (/home/tero/src/node-tar/node_modules/tap/lib/tap-assert.js:21:16)\r\n          - |\r\n            equivalent (/home/tero/src/node-tar/node_modules/tap/lib/tap-assert.js:183:12)\r\n          - |\r\n            Function.similar (/home/tero/src/node-tar/node_modules/tap/lib/tap-assert.js:284:10)\r\n          - |\r\n            Test._testAssert (/home/tero/src/node-tar/node_modules/tap/lib/tap-test.js:87:16)\r\n          - |\r\n            DirReader.foundEntry (/home/tero/src/node-tar/test/dir-normalization.js:131:9)\r\n          - |\r\n            DirReader.emit (events.js:95:17)\r\n          - |\r\n            DirReader.emitEntry (/home/tero/src/node-tar/node_modules/fstream/lib/dir-reader.js:249:8)\r\n          - |\r\n            LinkReader.EMITCHILD (/home/tero/src/node-tar/node_modules/fstream/lib/dir-reader.js:158:12)\r\n          - |\r\n            LinkReader.emit (events.js:95:17)\r\n        found:  \r\n          path:     /fixtures/the-chumbler\r\n          mode:     120777\r\n          type:     SymbolicLink\r\n          depth:    2\r\n          size:     76\r\n          linkpath: /home/tero/src/node-tar/test/tmp/dir-normalization-test/a/b/c/d/the-chumbler\r\n          nlink:    1\r\n        wanted: \r\n          path:     /fixtures/the-chumbler\r\n          mode:     120755\r\n          type:     SymbolicLink\r\n          depth:    2\r\n          size:     95\r\n          linkpath: /home/tero/src/node-tar/test/tmp/dir-normalization-test/a/b/c/d/the-chumbler\r\n          nlink:    1\r\n        diff:   |\r\n          {\r\n            \"path\" : \"/fixtures/the-chumbler\",\r\n            \"mode\" : \"120777\", // != \"120755\"\r\n            \"type\" : \"SymbolicLink\",\r\n            \"depth\" : 2,\r\n            \"size\" : 76, // != 95\r\n            \"linkpath\" : \"/home/tero/src/node-tar/test/tmp/dir-normalization-test/a/b/c/d/the-chumbler\",\r\n            \"nlink\" : 1\r\n          }\r\n      ...\r\n    ok 8 should have 3 items\r\n    not ok 9 test/dir-normalization.js\r\n      ---\r\n        exit:    1\r\n        command: \"/usr/bin/nodejs dir-normalization.js\"\r\n      ...\r\n    \r\n    1..9\r\n    # tests 9\r\n    # pass  7\r\n    # fail  2\r\n    \r\nslow chmod /home/tero/src/node-tar/test/tmp/extract-test/dir\r\nslow utimes /home/tero/src/node-tar/test/tmp/extract-test/dir\r\nslow chmod /home/tero/src/node-tar/test/tmp/extract-test/dir/sub\r\nslow utimes /home/tero/src/node-tar/test/tmp/extract-test/dir/sub\r\nok test/extract-move.js ................................. 5/5\r\nok test/extract.js .................................... 45/45\r\nok test/header.js ..................................... 22/22\r\nok test/pack-no-proprietary.js ...................... 201/201\r\nok test/pack.js ..................................... 204/204\r\nok test/parse.js ...................................... 43/43\r\nok test/zz-cleanup.js ................................... 3/3\r\ntotal ............................................... 534/536\r\n\r\nnot ok\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/node-tar/issues/comments/90979624","html_url":"https://github.com/npm/node-tar/issues/55#issuecomment-90979624","issue_url":"https://api.github.com/repos/npm/node-tar/issues/55","id":90979624,"user":{"login":"terotil","id":47033,"avatar_url":"https://avatars.githubusercontent.com/u/47033?v=3","gravatar_id":"","url":"https://api.github.com/users/terotil","html_url":"https://github.com/terotil","followers_url":"https://api.github.com/users/terotil/followers","following_url":"https://api.github.com/users/terotil/following{/other_user}","gists_url":"https://api.github.com/users/terotil/gists{/gist_id}","starred_url":"https://api.github.com/users/terotil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terotil/subscriptions","organizations_url":"https://api.github.com/users/terotil/orgs","repos_url":"https://api.github.com/users/terotil/repos","events_url":"https://api.github.com/users/terotil/events{/privacy}","received_events_url":"https://api.github.com/users/terotil/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:20:55Z","updated_at":"2015-04-08T17:20:55Z","body":"Debian GNU/Linux 8.0\r\n\r\n```\r\ntero@fasaani:~$ uname -a\r\nLinux fasaani 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux\r\ntero@fasaani:~$ node --version\r\nv0.10.29\r\n```"}}