Explorar o código

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

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
6abefb6e60
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      test/stat/Makefile

+ 4 - 0
test/stat/Makefile

@@ -10,3 +10,7 @@ DODIFF_stat64 := 1
 
 OPTS_stat   := stat.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