Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mv fails on block, character, fifo #25

Closed
aeosynth opened this issue Sep 12, 2012 · 0 comments
Closed

mv fails on block, character, fifo #25

aeosynth opened this issue Sep 12, 2012 · 0 comments

Comments

@aeosynth
Copy link
Contributor

from #23:

a block device (mknod test/resources/block b 1 1) causes the following error:

Running test: mv.js
shell.js: internal error
Error: UNKNOWN, unknown error
    at Object.fs.readSync (fs.js:381:19)
    at copyFileSync (/Users/james/src/assets/shelljs/shell.js:1119:20)
    at /Users/james/src/assets/shelljs/shell.js:311:5
    at Array.forEach (native)
    at Object._cp (/Users/james/src/assets/shelljs/shell.js:270:11)
    at Object.cp (/Users/james/src/assets/shelljs/shell.js:1074:23)
    at Object.<anonymous> (/Users/james/src/assets/shelljs/test/mv.js:20:7)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)

a character device (mknod test/resources/character c 1 1) and fifo (mkfifo test/resources/fifo) causes the mv test to hang

symlink, file, directory work fine. haven't tested sockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant