diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 19:11:58 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 19:11:58 +0100 |
commit | 9853b168f68cbb09b75a817343cedde2aca4c76c (patch) | |
tree | db628840acea83dbccaf5676b89579a80e02ef51 /tests/test-lstat.h | |
parent | d83e85a2e6064c36f6ad3c848e39d8b8c101c4f7 (diff) | |
parent | 7cf710f6587e71a193a55d84dd6d8ae1a8a69ce0 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'tests/test-lstat.h')
-rw-r--r-- | tests/test-lstat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-lstat.h b/tests/test-lstat.h index 3982d160..31476132 100644 --- a/tests/test-lstat.h +++ b/tests/test-lstat.h @@ -1,5 +1,5 @@ /* Test of lstat() function. - Copyright (C) 2008-2022 Free Software Foundation, Inc. + Copyright (C) 2008-2024 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,14 +32,14 @@ test_lstat_func (int (*func) (char const *, struct stat *), bool print) ASSERT (func (".", &st1) == 0); ASSERT (func ("./", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) - ASSERT (SAME_INODE (st1, st2)); + ASSERT (psame_inode (&st1, &st2)); #endif ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); ASSERT (func ("/", &st1) == 0); ASSERT (func ("///", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) - ASSERT (SAME_INODE (st1, st2)); + ASSERT (psame_inode (&st1, &st2)); #endif ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); @@ -90,7 +90,7 @@ test_lstat_func (int (*func) (char const *, struct stat *), bool print) ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) - ASSERT (SAME_INODE (st1, st2)); + ASSERT (psame_inode (&st1, &st2)); #endif ASSERT (func (BASE "link2", &st1) == 0); |