Skip to content

Commit d3ffa66

Browse files
committed
use relative path in umask unit test
1 parent d6d07a5 commit d3ffa66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/hadoop/fs/test/unit/HcfsUmaskTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void tearDown() throws Exception {
7070
public void testMkdirsWithUmask() throws Exception {
7171
Configuration conf = fs.getConf();
7272
String oldUmask = conf.get("fs.permissions.umask-mode");
73-
Path dir = new Path("/dirUmask022");
73+
Path dir = new Path("dirUmask022");
7474
conf.set("fs.permissions.umask-mode", "022");
7575
assertTrue(fs.mkdirs(dir));
7676
conf.set("fs.permissions.umask-mode", oldUmask);

0 commit comments

Comments
 (0)