mirror of
https://github.com/json-c/json-c.git
synced 2026-11-08 22:50:47 +08:00
Fix absolute paths in test_util_file that vary depending on where it is run.
This commit is contained in:
1 parent
b1d65b62db
commit
2b255d0ebf
3 files changed
+13
-15
No files matched your search
@@ -1,5 +1,5 @@
|
||||
OK: json_object_from_fd(/home/erh/json-c/json-c/tests/valid.json)={ "foo": 123 }
|
||||
OK: json_object_from_file(not_present.json) correctly returned NULL: json_object_from_file: error opening file /home/erh/json-c/json-c/tests/not_present.json: ERRNO=ENOENT
|
||||
OK: json_object_from_fd(./valid.json)={ "foo": 123 }
|
||||
OK: json_object_from_file(./not_present.json) correctly returned NULL: json_object_from_file: error opening file ./not_present.json: ERRNO=ENOENT
|
||||
|
||||
OK: json_object_from_fd(closed_fd), expecting NULL, EBADF, got:0x0, json_object_from_fd: error reading fd 3: ERRNO=EBADF
|
||||
|
||||
|
||||
Reference in new issue
Block a user