Browse Source

fix running of stat test on filesystems that dont have noatime set

Mike Frysinger 19 years ago
parent
commit
6abefb6e60
1 changed files with 4 additions and 0 deletions
  1. 4 0
      test/stat/Makefile

+ 4 - 0
test/stat/Makefile

@@ -10,3 +10,7 @@ DODIFF_stat64 := 1
 
 
 OPTS_stat   := stat.c
 OPTS_stat   := stat.c
 OPTS_stat64 := stat64.c
 OPTS_stat64 := stat64.c
+
+# make sure the change in atime doesn't screw us up
+WRAPPER_stat   := touch -r . stat.c
+WRAPPER_stat64 := touch -r . stat64.c