Skip to contentSkip to conversation

fstests: fix g/019 cleanup

PATCH In review Dave Chinner 2 participants 2 messages Jun 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fstests: fix g/019 cleanup

From: Dave Chinner <[email protected]>

This never worked properly and the failure was exposed by the recent rework of the fstest setup infrastructure.

---
 tests/generic/019 | 2 --
 1 file changed, 2 deletions(-)
tests/generic/019 +0 -2
index 640c96ae..bd234815 100755
@@ -53,7 +53,6 @@ stop_fail_scratch_dev()
 # Override the default cleanup function.
 _cleanup()
 {
-    poweron_scratch_dev
     disallow_fail_make_request
     rm -f $tmp.*
 }
@@ -156,5 +155,4 @@ _scratch_mount
 allow_fail_make_request
 _workout
 status=$?
-disallow_fail_make_request
 exit
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Dave Chinner

From: Dave Chinner <[email protected]>

This never worked properly and the failure was exposed by the recent rework of the fstest setup infrastructure.

Looks fine, and I have further cleanups for this test :P

--D

Quoted 25 lines
---
 tests/generic/019 | 2 --
 1 file changed, 2 deletions(-)
tests/generic/019 +0 -2
index 640c96ae..bd234815 100755
@@ -53,7 +53,6 @@ stop_fail_scratch_dev()
 # Override the default cleanup function.
 _cleanup()
 {
-    poweron_scratch_dev
     disallow_fail_make_request
     rm -f $tmp.*
 }
@@ -156,5 +155,4 @@ _scratch_mount
 allow_fail_make_request
 _workout
 status=$?
-disallow_fail_make_request
 exit
Signature · 1 line
2.31.1