diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-04-01 09:36:43 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-04-01 09:38:12 -0700 |
commit | 04903aab84d94db3f5c0534e9eae0a6cdc6816ba (patch) | |
tree | 7c558483e5962e2c5a0bad10c7af50e27c9e23ef /tests | |
parent | 927f26f3729fc5279e0cb4481fb0c484ec6255c0 (diff) |
fix mkdir on a path ending in a slash; fixes #2263 and #2258
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_core.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 33e0b99f..a1fcc3da 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4095,6 +4095,10 @@ def process(filename): src = open(path_from_root('tests', 'dirent', 'test_readdir.c'), 'r').read() self.do_run(src, 'success', force_c=True) + def test_readdir_empty(self): + src = open(path_from_root('tests', 'dirent', 'test_readdir_empty.c'), 'r').read() + self.do_run(src, 'success', force_c=True) + def test_stat(self): src = open(path_from_root('tests', 'stat', 'test_stat.c'), 'r').read() self.do_run(src, 'success', force_c=True) |