[LTP] [PATCH v2] Fix mountns01/02/03/04 final umounts using more peculiar dir names

Joerg Vehlow lkml@jv-coder.de
Tue Jun 21 08:55:53 CEST 2022


Hi,

Am 6/21/2022 um 8:51 AM schrieb Joerg Vehlow:
>> ---
>>  testcases/kernel/containers/mountns/mountns.h  |  4 ++--
>>  .../kernel/containers/mountns/mountns01.c      | 18 +++++++++---------
>>  .../kernel/containers/mountns/mountns02.c      | 18 +++++++++---------
>>  .../kernel/containers/mountns/mountns03.c      | 18 +++++++++---------
>>  .../kernel/containers/mountns/mountns04.c      |  8 ++++----
>>  5 files changed, 33 insertions(+), 33 deletions(-)
>>
>> diff --git a/testcases/kernel/containers/mountns/mountns.h b/testcases/kernel/containers/mountns/mountns.h
>> index ad8befa71..347f0783a 100644
>> --- a/testcases/kernel/containers/mountns/mountns.h
>> +++ b/testcases/kernel/containers/mountns/mountns.h
>> @@ -10,8 +10,8 @@
>>  #include "tst_test.h"
>>  #include "lapi/namespaces_constants.h"
>>  
>> -#define DIRA "A"
>> -#define DIRB "B"
>> +#define DIRA "__DIR_A"
>> +#define DIRB "__DIR_B"
> This is the only non-comment change. How does renaming the directories
> change anything? Am I missing something?
Nevermind, now after I read the v1-thread, I get it..

Joerg


More information about the ltp mailing list