xfstests generic/313: test ctime and mtime are updated on truncate and ftruncate
PATCH v2 1/1 xfstests generic/313: test ctime and mtime are updated on truncate and ftruncate
Regression test for commit:
3972f26 btrfs: update timestamps on truncate()
---v1->v2: rebase on top of master
src/Makefile | 2 +- src/t_truncate_cmtime.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/generic/313 | 55 ++++++++++++++++++++++++ tests/generic/313.out | 2 + tests/generic/group | 1 + 5 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 src/t_truncate_cmtime.c create mode 100755 tests/generic/313 create mode 100644 tests/generic/313.out
src/Makefile +1 -1
@@ -11,7 +11,7 @@ TARGETS = dirstress fill fill2 getpagesize holes lstat64 \ devzero feature alloc fault fstest t_access_root \ godown resvtest writemod makeextents itrash rename \ multi_open_unlink dmiperf unwritten_sync genhashnames t_holes \ - t_mmap_writev + t_mmap_writev t_truncate_cmtime LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ preallo_rw_pattern_writer ftrunc trunc fs_perms testx looptest \
src/t_truncate_cmtime.c new file +110 -0
110 lines not on this page · raw message
tests/generic/313 new file +55 -0
55 lines not on this page · raw message
tests/generic/313.out new file +2 -0
@@ -0,0 +1,2 @@ +QA output created by 313 +Silence is golden
tests/generic/group +1 -0
@@ -115,3 +115,4 @@ 310 auto 311 auto metadata log 312 auto quick prealloc enospc +313 auto quick
Signature · 6 lines
1.8.2.1 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Eryu Guan
Regression test for commit:
3972f26 btrfs: update timestamps ontruncate()Signed-off-by Eryu Guan <[email protected]>
Looks fine.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
PATCH v3 1/1 xfstests generic/313: test ctime and mtime are updated on truncate and ftruncate
Regression test for commit:
3972f26 btrfs: update timestamps on truncate()
---v2->v3: add src/t_truncate_cmtime to .gitignorev1->v2: rebase on top of master
.gitignore | 1 + src/Makefile | 2 +- src/t_truncate_cmtime.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/generic/313 | 55 ++++++++++++++++++++++++ tests/generic/313.out | 2 + tests/generic/group | 1 + 6 files changed, 170 insertions(+), 1 deletion(-) create mode 100644 src/t_truncate_cmtime.c create mode 100755 tests/generic/313 create mode 100644 tests/generic/313.out
.gitignore +1 -0
@@ -85,6 +85,7 @@ /src/t_mmap_writev /src/t_mtab /src/t_stripealign +/src/t_truncate_cmtime /src/testx /src/trunc /src/truncfile
src/Makefile +1 -1
@@ -11,7 +11,7 @@ TARGETS = dirstress fill fill2 getpagesize holes lstat64 \ devzero feature alloc fault fstest t_access_root \ godown resvtest writemod makeextents itrash rename \ multi_open_unlink dmiperf unwritten_sync genhashnames t_holes \ - t_mmap_writev + t_mmap_writev t_truncate_cmtime LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ preallo_rw_pattern_writer ftrunc trunc fs_perms testx looptest \
src/t_truncate_cmtime.c new file +110 -0
110 lines not on this page · raw message
tests/generic/313 new file +55 -0
55 lines not on this page · raw message
tests/generic/313.out new file +2 -0
@@ -0,0 +1,2 @@ +QA output created by 313 +Silence is golden
tests/generic/group +1 -0
@@ -115,3 +115,4 @@ 310 auto 311 auto metadata log 312 auto quick prealloc enospc +313 auto quick
Signature · 6 lines
1.8.3.1 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Ben Myers
AppliedQuoted 5 lines · Eryu Guan
Regression test for commit:
3972f26 btrfs: update timestamps ontruncate()Reviewed-by Ben Myers <[email protected]>Signed-off-by Eryu Guan <[email protected]>
Applied.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs