]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check,common{rc,preamble}: Decouple init_rc() call from sourcing common/rc
authorNirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Wed, 9 Apr 2025 07:00:50 +0000 (07:00 +0000)
committerZorro Lang <zlang@kernel.org>
Thu, 10 Apr 2025 18:35:26 +0000 (02:35 +0800)
commit69bdf04c98c3152f1d6c700593e7400dcf43b619
treeb6a35d615a3040cbc7df9bd0484ea13cef64392b
parent491eddb2699f06a165b190be735a4b86fa06041b
check,common{rc,preamble}: Decouple init_rc() call from sourcing common/rc

Silently executing scripts during sourcing common/rc isn't good practice
and also causes unnecessary script execution. Decouple init_rc() call
and call init_rc() explicitly where required.

Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
check
common/preamble
common/rc