Skip to contentSkip to conversation

fstests: Don't delete seqres.full file in generic/077

PATCH In review Nikolay Borisov 3 participants 4 messages Mar 26, 2019 – Mar 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fstests: Don't delete seqres.full file in generic/077

When this test finishes there is no 079.full file with output from commands. Sometimes this information is useful for post mortem so stop deleting the file upon test completion.

---
 tests/generic/077 | 1 -
 1 file changed, 1 deletion(-)
tests/generic/077 +0 -1
index 284e25253c9e..d11b49c6ff15 100755
@@ -73,6 +73,5 @@ cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1
 _check_scratch_fs
 
 echo "*** all done"
-rm -f $seqres.full
 status=0
 exit
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Nikolay Borisov

When this test finishes there is no 079.full file with output from commands.

"077.full" ?

Quoted 4 lines

Sometimes this information is useful for post mortem so stop deleting the file upon test completion.

Looks ok to me otherwise,

tests/generic/077 cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 · line 76

Quoted 13 lines
---
 tests/generic/077 | 1 -
 1 file changed, 1 deletion(-)
tests/generic/077 +0 -1
index 284e25253c9e..d11b49c6ff15 100755
@@ -73,6 +73,5 @@ cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1
 _check_scratch_fs
 
 echo "*** all done"
-rm -f $seqres.full

I had wondered about this myself... :)

--D

Quoted 5 lines
tests/generic/077 +0 -0
 status=0
 exit
Signature · 1 line
2.7.4
#2 lore raw
Quoted 4 lines · Darrick J. Wong
Quoted 1 line · Nikolay Borisov

When this test finishes there is no 079.full file with output from commands.

"077.full" ?

Eryu, would you fold this when merging or shall I resend?

Quoted 34 lines
Quoted 5 lines

Sometimes this information is useful for post mortem so stop deleting the file upon test completion.

Looks ok to me otherwise,

tests/generic/077 cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 · line 76

Quoted 13 lines
---
 tests/generic/077 | 1 -
 1 file changed, 1 deletion(-)
tests/generic/077 +0 -1
index 284e25253c9e..d11b49c6ff15 100755
@@ -73,6 +73,5 @@ cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1
 _check_scratch_fs
 
 echo "*** all done"
-rm -f $seqres.full

I had wondered about this myself... :)

--D

Quoted 5 lines
tests/generic/077 +0 -0
 status=0
 exit
Signature · 1 line
2.7.4
#3 lore raw
Quoted 9 lines · Nikolay Borisov
Quoted 4 lines · Darrick J. Wong
Quoted 1 line · Nikolay Borisov

When this test finishes there is no 079.full file with output from commands.

"077.full" ?

Eryu, would you fold this when merging or shall I resend?

I'll fix it on merge, thanks!

Eryu

Quoted 35 lines
Quoted 35 lines
Quoted 6 lines

Sometimes this information is useful for post mortem so stop deleting the file upon test completion.

Looks ok to me otherwise,

tests/generic/077 cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 · line 76

Quoted 13 lines
---
 tests/generic/077 | 1 -
 1 file changed, 1 deletion(-)
tests/generic/077 +0 -1
index 284e25253c9e..d11b49c6ff15 100755
@@ -73,6 +73,5 @@ cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1
 _check_scratch_fs
 
 echo "*** all done"
-rm -f $seqres.full

I had wondered about this myself... :)

--D

Quoted 5 lines
tests/generic/077 +0 -0
 status=0
 exit
Signature · 1 line
2.7.4