Use 64bit time_t, add XFS bigtime test, allow atime and mtime testing

This commit is contained in:
2022-12-28 15:06:15 +00:00
parent 715c181582
commit 3cef60408b
9 changed files with 149 additions and 27 deletions
+50
View File
@@ -0,0 +1,50 @@
/> umka_init
/> disk_add ../img/xfs_bigtime.img hd0 -c 0
/hd0/1: xfs
/> ls70 /hd0/1/
status = 6 end_of_file, count = 8
total = 8
----f .
----f ..
----f dira
----f dirb
----f dirc
----f dird
----f dire
----f dirf
/> ls70 /hd0/1/dira
status = 6 end_of_file, count = 2
total = 2
----f .
----f ..
/> stat70 /hd0/1/dira -am
status = 0 success
attr: ----f
atime: 2005.04.03 11:22:33
mtime: 2005.04.03 11:22:44
/> stat70 /hd0/1/dirb -am
status = 0 success
attr: ----f
atime: 2001.01.01 00:00:00
mtime: 2035.04.03 11:22:44
/> stat70 /hd0/1/dirc -am
status = 0 success
attr: ----f
atime: 2001.01.01 00:00:00
mtime: 2075.04.03 11:22:44
/> stat70 /hd0/1/dird -am
status = 0 success
attr: ----f
atime: 2001.01.01 00:00:00
mtime: 2105.04.03 11:22:44
/> stat70 /hd0/1/dire -am
status = 0 success
attr: ----f
atime: 2001.01.01 00:00:00
mtime: 2137.02.07 06:28:15
/> stat70 /hd0/1/dirf -am
status = 0 success
attr: ----f
atime: 2001.01.01 00:00:00
mtime: 2137.02.07 06:28:15
/> disk_del hd0
+11
View File
@@ -0,0 +1,11 @@
umka_init
disk_add ../img/xfs_bigtime.img hd0 -c 0
ls70 /hd0/1/
ls70 /hd0/1/dira
stat70 /hd0/1/dira -am
stat70 /hd0/1/dirb -am
stat70 /hd0/1/dirc -am
stat70 /hd0/1/dird -am
stat70 /hd0/1/dire -am
stat70 /hd0/1/dirf -am
disk_del hd0
+1 -1
View File
@@ -57,7 +57,7 @@ acpi: $(acpi_tests)
input: $(input_tests)
%.out.log: %.t
$(UMKA_SHELL) -i $*.t -o $@
$(UMKA_SHELL) -ri $*.t -o $@
ifeq ($(HOST),linux)
@ cmp $*.out.log $*.ref.log
@ if [ -f "$*.ref.png" ]; then cmp $*.out.png $*.ref.png; fi