diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-23 15:32:43 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-23 15:32:43 -0700 |
commit | 2ebcf95b0e305f777143e3ad783896c17b769324 (patch) | |
tree | e0a60a9c313bf4526bec8fe2029d341302caa2f9 /tests/fs/test_emptyPath.c | |
parent | 8c6578568956816cbb518584cbfa1321587727a7 (diff) | |
parent | 3eb16db0edc678ca6183b3d0254b925aee575469 (diff) |
Merge branch 'incoming' into proxyGL
Diffstat (limited to 'tests/fs/test_emptyPath.c')
-rw-r--r-- | tests/fs/test_emptyPath.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/fs/test_emptyPath.c b/tests/fs/test_emptyPath.c new file mode 100644 index 00000000..27d56ea1 --- /dev/null +++ b/tests/fs/test_emptyPath.c @@ -0,0 +1,14 @@ +#include <stdio.h> + +int main() { + FILE* f1 = fopen("s", "r"); + if (f1 == NULL) { + printf("file 's' not found!\n"); + } + + FILE* f2 = fopen("", "r"); + if (f2 == NULL) { + printf("file '' not found!\n"); + } + return 0; +} |