mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
s/g_read_link/g_file_read_link/ (#118727)
2003-07-31 Noah Levitt <nlevitt@columbia.edu> * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
This commit is contained in:
parent
03e4805ff4
commit
2041e1c1e2
@ -1,3 +1,7 @@
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
|
||||
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
|
||||
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
|
||||
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
|
||||
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
|
||||
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
|
||||
|
||||
2003-07-31 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
|
||||
|
@ -99,24 +99,24 @@ test_readlink (void)
|
||||
g_assert (result == 0 && "symlink() failed");
|
||||
|
||||
error = NULL;
|
||||
data = g_read_link (link1, &error);
|
||||
data = g_file_read_link (link1, &error);
|
||||
g_assert (data != NULL && "couldn't read link1");
|
||||
g_assert (strcmp (data, filename) == 0 && "link1 contains wrong data");
|
||||
g_free (data);
|
||||
|
||||
error = NULL;
|
||||
data = g_read_link (link2, &error);
|
||||
data = g_file_read_link (link2, &error);
|
||||
g_assert (data != NULL && "couldn't read link2");
|
||||
g_assert (strcmp (data, link1) == 0 && "link2 contains wrong data");
|
||||
g_free (data);
|
||||
|
||||
error = NULL;
|
||||
data = g_read_link (link3, &error);
|
||||
data = g_file_read_link (link3, &error);
|
||||
g_assert (data == NULL && "could read link3");
|
||||
g_assert (error != NULL && "error not set");
|
||||
|
||||
error = NULL;
|
||||
data = g_read_link (filename, &error);
|
||||
data = g_file_read_link (filename, &error);
|
||||
g_assert (data == NULL && "could read regular file as link");
|
||||
g_assert (error != NULL && "error not set");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user