*** empty log message ***
This commit is contained in:
parent
ac4b5f9021
commit
0f778f55fb
|
@ -238,19 +238,19 @@ module Zip
|
||||||
end
|
end
|
||||||
|
|
||||||
def readlink(fileName)
|
def readlink(fileName)
|
||||||
raise NotImplementedError, "The readlink() function is not implemented to ZipFileSystem"
|
raise NotImplementedError, "The readlink() function is not implemented"
|
||||||
end
|
end
|
||||||
|
|
||||||
def symlink(fileName, symlinkName)
|
def symlink(fileName, symlinkName)
|
||||||
raise NotImplementedError, "The symlink() function is not implemented to ZipFileSystem"
|
raise NotImplementedError, "The symlink() function is not implemented"
|
||||||
end
|
end
|
||||||
|
|
||||||
def link(fileName, symlinkName)
|
def link(fileName, symlinkName)
|
||||||
raise NotImplementedError, "The link() function is not implemented to ZipFileSystem"
|
raise NotImplementedError, "The link() function is not implemented"
|
||||||
end
|
end
|
||||||
|
|
||||||
def pipe
|
def pipe
|
||||||
raise NotImplementedError, "The pipe() function is not implemented to ZipFileSystem"
|
raise NotImplementedError, "The pipe() function is not implemented"
|
||||||
end
|
end
|
||||||
|
|
||||||
def stat(fileName)
|
def stat(fileName)
|
||||||
|
@ -345,6 +345,10 @@ module Zip
|
||||||
@mappedZip.mkdir(entryName, permissionInt)
|
@mappedZip.mkdir(entryName, permissionInt)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def chroot(*args)
|
||||||
|
raise NotImplementedError, "The chroot() function is not implemented"
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# All access to ZipFile from ZipFsFile and ZipFsDir goes through a
|
# All access to ZipFile from ZipFsFile and ZipFsDir goes through a
|
||||||
|
|
|
@ -676,7 +676,12 @@ class ZipFsDirectoryTest < RUNIT::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_chroot
|
def test_chroot
|
||||||
fail "implement test"
|
ZipFile.open(TEST_ZIP) {
|
||||||
|
|zf|
|
||||||
|
assert_exception(NotImplementedError) {
|
||||||
|
zf.dir.chroot
|
||||||
|
}
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_glob
|
def test_glob
|
||||||
|
|
Loading…
Reference in New Issue