8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ede418 commit 8594f20Copy full SHA for 8594f20
test/cp.js
@@ -758,8 +758,8 @@ test('should not overwrite recently created files (not give error no-force mode)
758
});
759
760
test('cp -p should preserve mode, ownership, and timestamp', t => {
761
- const result = shell.cp('-p', 'test/resources/file1', `${t.context.tmp}/preservedFile1`);
762
- const stat = common.statFollowLinks('test/resources/file1');
+ const result = shell.cp('-p', 'test/resources/cp/file1', `${t.context.tmp}/preservedFile1`);
+ const stat = common.statFollowLinks('test/resources/cp/file1');
763
const statOfResult = common.statFollowLinks(`${t.context.tmp}/preservedFile1`);
764
765
t.is(result.code, 0);
0 commit comments