HADOOP-10582. Fix the test case for copying to non-existent dir in TestFsShellCopy. Contributed by Kousuke Saruta.
This commit is contained in:
parent
f5c48238d5
commit
a46506d99c
@ -695,6 +695,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HADOOP-11988. Fix typo in the document for hadoop fs -find.
|
||||
(Kengo Seki via aajisaka)
|
||||
|
||||
HADOOP-10582. Fix the test case for copying to non-existent dir in
|
||||
TestFsShellCopy. (Kousuke Saruta via aajisaka)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -177,9 +177,9 @@ private void checkPut(Path srcPath, Path targetDir, boolean useWindowsPath)
|
||||
checkPut(0, srcPath, dstPath, useWindowsPath);
|
||||
}
|
||||
|
||||
// copy to non-existent subdir
|
||||
prepPut(childPath, false, false);
|
||||
checkPut(1, srcPath, dstPath, useWindowsPath);
|
||||
// copy to non-existent dir
|
||||
prepPut(dstPath, false, false);
|
||||
checkPut(1, srcPath, childPath, useWindowsPath);
|
||||
|
||||
// copy into dir, then with another name
|
||||
prepPut(dstPath, true, true);
|
||||
|
Loading…
Reference in New Issue
Block a user