mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: remove tmp files properly
Some tests and common helpers don't properly clean up tmp files and leave them behind in /tmp dir, and these tmp files are accumulating over time. Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ seqres=$RESULT_DIR/$seq
|
||||
echo "QA output created by $seq"
|
||||
|
||||
here=`pwd`
|
||||
tmp=`mktemp -d`
|
||||
tmp=/tmp/$$
|
||||
status=0
|
||||
trap "exit \$status" 0 1 2 3 15
|
||||
chpid=0
|
||||
|
||||
Reference in New Issue
Block a user