]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
new: Replace "status=0; exit 0" with _exit 0
authorNirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Thu, 22 May 2025 05:41:35 +0000 (05:41 +0000)
committerZorro Lang <zlang@kernel.org>
Fri, 23 May 2025 15:16:05 +0000 (23:16 +0800)
We should now start using _exit 0 for every new test
that we add.

Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
new

diff --git a/new b/new
index a7ad7135137c0930cb03e86a984aa3eb18ecd51f..60ace812292d1800a2fbb2de71d34f5f9e04a941 100755 (executable)
--- a/new
+++ b/new
@@ -176,8 +176,7 @@ exit
 #echo "If failure, check \$seqres.full (this) and \$seqres.full.ok (reference)"
 
 # success, all done
-status=0
-exit
+_exit 0
 End-of-File
 
 sleep 2                # latency to read messages to this point