On 08.08.23 18:15, 'Jan Kiszka' via EFI Boot Guard wrote:
> On 08.08.23 16:23, 'Earl Chew' via EFI Boot Guard wrote:
>> Remove the temporary directory containing the test data to reduce clutter.
>> When diagnosing test failures, developers can use --no-tempdir-cleanup to
>> prevent BATS from removing test artifacts.
>>
>> Signed-off-by: Earl Chew <[email protected]>
>> ---
>>  tests/bg_setenv.bats | 23 +++++++++++++++--------
>>  1 file changed, 15 insertions(+), 8 deletions(-)
>>
>> diff --git a/tests/bg_setenv.bats b/tests/bg_setenv.bats
>> index 67cee8f..6d0249b 100755
>> --- a/tests/bg_setenv.bats
>> +++ b/tests/bg_setenv.bats
>> @@ -17,6 +17,13 @@ setup() {
>>      # file respectively
>>      DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd 
>> )"
>>      PATH="$DIR/..:$PATH"
>> +
>> +    # BATS_TEST_TMPDIR was introduced by BATS 1.4.0, and not available
>> +    # until Ubuntu 23.04.
> 
> The world is larger than Ubuntu - we can drop that reference here.
> 
> That means we will continue to leave the temp folder behind for older
> versions of bats. Fine with me, maybe just state that explicitly in the
> commit message.
> 

I've done that myself now and applied the result to next.

Thanks,
Jan

-- 
Siemens AG, Technology
Linux Expert Center

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/7f83f34b-c82b-4dc3-b749-56cd57016937%40siemens.com.

Reply via email to