mirror of
https://github.com/json-c/json-c.git
synced 2026-04-01 03:19:06 +08:00
Fix absolute paths in test_util_file that vary depending on where it is run.
This commit is contained in:
@@ -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