aboutsummaryrefslogtreecommitdiff
path: root/tests/fs/test_emptyPath.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-23 15:32:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-23 15:32:43 -0700
commit2ebcf95b0e305f777143e3ad783896c17b769324 (patch)
treee0a60a9c313bf4526bec8fe2029d341302caa2f9 /tests/fs/test_emptyPath.c
parent8c6578568956816cbb518584cbfa1321587727a7 (diff)
parent3eb16db0edc678ca6183b3d0254b925aee575469 (diff)
Merge branch 'incoming' into proxyGL
Diffstat (limited to 'tests/fs/test_emptyPath.c')
-rw-r--r--tests/fs/test_emptyPath.c14
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;
+}