git: 2a58b9c5db8a - main - stress2: Fix cleanup

Peter Holm pho at FreeBSD.org
Thu Sep 2 07:15:02 UTC 2021


The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=2a58b9c5db8ae1f15905eb7c9e0845100c0e4ced

commit 2a58b9c5db8ae1f15905eb7c9e0845100c0e4ced
Author:     Peter Holm <pho at FreeBSD.org>
AuthorDate: 2021-09-02 07:09:39 +0000
Commit:     Peter Holm <pho at FreeBSD.org>
CommitDate: 2021-09-02 07:09:39 +0000

    stress2: Fix cleanup
---
 tools/test/stress2/misc/mmap36.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test/stress2/misc/mmap36.sh b/tools/test/stress2/misc/mmap36.sh
index 2c38fd26890b..89fc6721fbeb 100755
--- a/tools/test/stress2/misc/mmap36.sh
+++ b/tools/test/stress2/misc/mmap36.sh
@@ -44,7 +44,7 @@ s=$?
 [ -f mmap36.core ] &&
     { ls -l mmap36.core; mv mmap36.core $dir; s=1; }
 cd $odir
-[ $s -eq 0 ] && rm -f mmap36.c mmap36
+[ $s -eq 0 ] && rm -f $dir/mmap36.c $dir/mmap36
 exit $s
 
 EOF


More information about the dev-commits-src-all mailing list