diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-05 18:13:25 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-05 18:13:25 +0100 |
commit | 06bf645db1f67343b5b50bf92b721ccc8f9c0d72 (patch) | |
tree | 6239a1d6a2412b3161bddd8a6e11eeedc7e54717 /test-sftpfs | |
parent | 2c57025e86f07bc23b29768a062955574844dcc9 (diff) | |
download | obnam-06bf645db1f67343b5b50bf92b721ccc8f9c0d72.tar.gz |
Implement support for FIFO files.
(Device nodes are still not supported.)
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-x | test-sftpfs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-sftpfs b/test-sftpfs index becf1f4f..c8632ad3 100755 --- a/test-sftpfs +++ b/test-sftpfs @@ -56,6 +56,9 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests): def test_link_creates_hard_link(self): pass # sftp does not support hardlinking, so not testing it + def test_mknod_creates_fifo(self): + self.assertRaises(NotImplementedError, self.fs.mknod, 'foo', 0) + if __name__ == '__main__': unittest.main() |