summaryrefslogtreecommitdiff
path: root/tests/test-stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-stat.h')
-rw-r--r--tests/test-stat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-stat.h b/tests/test-stat.h
index 82f88970..a76f38f9 100644
--- a/tests/test-stat.h
+++ b/tests/test-stat.h
@@ -1,5 +1,5 @@
/* Tests of stat.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-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
@@ -33,16 +33,16 @@ test_stat_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 (func (cwd, &st2) == 0);
#if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES)
- ASSERT (SAME_INODE (st1, st2));
+ ASSERT (psame_inode (&st1, &st2));
#endif
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
errno = 0;