diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-12-13 14:34:39 -0800 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-12-16 02:02:28 +0800 |
commit | b223ff181a863b72749985076bc80128e895e502 (patch) | |
tree | 066df8c7a30a11c56c2aab1f1f986208bb0bb2b5 | |
parent | e9b26f8c1649ff512e11c8dc0c27196ea9422167 (diff) | |
download | xfstests-dev-b223ff181a863b72749985076bc80128e895e502.tar.gz |
generic/410: don't blow away seqres.full during test
Don't truncate $seqres.full every time we format a new filesystem; this
makes debugging of this weird failure:
--- /tmp/fstests/tests/generic/410.out 2023-07-11 12:18:21.642971022 -0700
+++ /var/tmp/fstests/generic/410.out.bad 2023-11-29 01:13:00.020000000 -0800
@@ -107,6 +107,9 @@ mpB/dir SCRATCH_DEV
mpC SCRATCH_DEV
mpC/dir SCRATCH_DEV
======
+mkdir: cannot create directory '/mnt/410/3871733_mpA': File exists
+mkdir: cannot create directory '/mnt/410/3871733_mpB': File exists
+mkdir: cannot create directory '/mnt/410/3871733_mpC': File exists
make-shared a slave shared mount
before make-shared run on slave shared
------
nearly impossible.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/generic/410 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic/410 b/tests/generic/410 index 8cc36d9f38..5fb5441a0c 100755 --- a/tests/generic/410 +++ b/tests/generic/410 @@ -93,7 +93,7 @@ start_test() { local type=$1 - _scratch_mkfs >$seqres.full 2>&1 + _scratch_mkfs >>$seqres.full 2>&1 _get_mount -t $FSTYP $SCRATCH_DEV $MNTHEAD $MOUNT_PROG --make-"${type}" $MNTHEAD mkdir $mpA $mpB $mpC |