summaryrefslogtreecommitdiff
path: root/tests/test-lstat.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-lstat.h')
-rw-r--r--tests/test-lstat.h8
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);