Skip to content

Commit

Permalink
Use resources/cp/file1
Browse files Browse the repository at this point in the history
  • Loading branch information
dwi2 committed May 17, 2018
1 parent 3ede418 commit 7a10c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cp.js
Expand Up @@ -758,7 +758,7 @@ test('should not overwrite recently created files (not give error no-force mode)
});

test('cp -p should preserve mode, ownership, and timestamp', t => {
const result = shell.cp('-p', 'test/resources/file1', `${t.context.tmp}/preservedFile1`);
const result = shell.cp('-p', 'test/resources/cp/file1', `${t.context.tmp}/preservedFile1`);
const stat = common.statFollowLinks('test/resources/file1');
const statOfResult = common.statFollowLinks(`${t.context.tmp}/preservedFile1`);

Expand Down

0 comments on commit 7a10c1b

Please sign in to comment.