Skip to contentSkip to conversation

testserver.py: special-case the "all" flag

RFC PATCH In review Jeff Layton 5 participants 8 messages Feb 22, 2023 – Feb 23, 2023

Subsystems (3)
lore
Share & tools
lore

Jeff Layton

author maintainer
#0 lore raw

RFC PATCH 1/1 testserver.py: special-case the "all" flag

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the "all" flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

---
 nfs4.1/testmod.py | 2 ++
 1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

nfs4.1/testmod.py +2 -0
index 11e759d673fd..7b3bac543084 100644
@@ -386,6 +386,8 @@ def createtests(testdir):
     for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
         for f in t.flags_list:
             if f not in flag_dict:
                 flag_dict[f] = bit
Signature · 1 line
2.39.2
#1 lore raw
Quoted 8 lines · Jeff Layton

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the "all" flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

In some (all?) cases where the "all" flag was left off, it was intentional.

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their particular case really shouldn't be fixed. But sometimes it's still useful to have a test that goes somewhat beyond the spec.

There might be other ways to handle that kind of test, but it would need some more thought.

--b.

Quoted 23 lines
---
 nfs4.1/testmod.py | 2 ++
 1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

nfs4.1/testmod.py +2 -0
index 11e759d673fd..7b3bac543084 100644
@@ -386,6 +386,8 @@ def createtests(testdir):
     for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
         for f in t.flags_list:
             if f not in flag_dict:
                 flag_dict[f] = bit
Signature · 1 line
2.39.2
#2 lore raw
Quoted 9 lines

-----Original Message-----
From: J. Bruce Fields [mailto:[email protected]]

Quoted 5 lines · Jeff Layton

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the "all" flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

Quoted 5 lines
Quoted 3 lines

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

In some (all?) cases where the "all" flag was left off, it was

intentional.

Quoted 3 lines

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their

particular case

Quoted 1 line

really shouldn't be fixed. But sometimes it's still useful to have a test

that goes

Quoted 3 lines

somewhat beyond the spec.

There might be other ways to handle that kind of test, but it would need

some

Quoted 1 line

more thought.

There are also tests that are server specific, for example, there are tests that are Ganesha specific. For example, look at LOCK11g. LOCK11 attempts to make a bad stateid, and it sort of "knows" how the server formats its stateids. There is a function makeBadIDganesha that "knows" how Ganesha forms its stateids and forms a bad one that will definitely result in an NSF4ERR_BAD_STATEID.

There are also a number of tests that require specific setup bits to work that someone who just fires up a server won't have set up. I think there are some that expect specific exports, or second exports or other specific aspects of the pseudofs. There are tests that deal with server reboots.

At the least, I want a way to specify to run all the tests that are expected to pass on a server that has been set up without any special cases, and that are expected to pass on Linux.

The Ganesha tag, in addition to specifying a few Ganesha only tests, specifies several tests that may not pass on Linux in general (so they aren't in all) but do pass on Ganesha.

On the flip side, Ganesha lives with a handful of known failures...

Frank

Quoted 23 lines
Quoted 23 lines
---
 nfs4.1/testmod.py | 2 ++
 1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

nfs4.1/testmod.py index renamed from nfs4.1/testmod.py +0 -0

11e759d673fd..7b3bac543084 100644

nfs4.1/testmod.py +2 -1
@@ -386,6 +386,8 @@ def createtests(testdir):
     for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
         for f in t.flags_list:
             if f not in flag_dict:
                 flag_dict[f] = bit
--

2.39.2

#3 lore raw
In reply to J. Bruce Fields
Quoted 17 lines · J. Bruce Fields
Quoted 8 lines · Jeff Layton

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the "all" flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

In some (all?) cases where the "all" flag was left off, it was intentional.

Quoted 7 lines

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their particular case really shouldn't be fixed. But sometimes it's still useful to have a test that goes somewhat beyond the spec.

There might be other ways to handle that kind of test, but it would need some more thought.

We could use a different name for "all" since it doesn't actually run /all/ tests. Jeff suggested "standard", which seems sensible.

Also, we could add test categories specifically for particular server implementations, if that's interesting to folks.

Quoted 10 lines

--b.

Quoted 8 lines

---
nfs4.1/testmod.py | 2 ++

1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

Quoted 15 lines
Quoted 15 lines
nfs4.1/testmod.py +2 -0
index 11e759d673fd..7b3bac543084 100644
@@ -386,6 +386,8 @@ def createtests(testdir):
    for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
        for f in t.flags_list:
            if f not in flag_dict:
                flag_dict[f] = bit
Signature · 1 line
2.39.2

--
Chuck Lever

#4 lore raw
Quoted 14 lines

-----Original Message-----
From: Chuck Lever III [mailto:[email protected]]
Sent: Thursday, February 23, 2023 8:22 AM
To: Bruce Fields <[email protected]>
Cc: Jeff Layton <[email protected]>; Dai Ngo <[email protected]>; Linux NFS Mailing List <[email protected]>; Calum Mackay <[email protected]>; Frank Filz <[email protected]>
Subject: Re: [pynfs RFC PATCH] testserver.py: special-case the "all" flag

Quoted 1 line

On Feb 23, 2023, at 10:19 AM, J. Bruce Fields <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines · Jeff Layton
Quoted 1 line

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the

"all"

Quoted 16 lines
Quoted 16 lines
Quoted 7 lines

flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

In some (all?) cases where the "all" flag was left off, it was intentional.

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their particular case really shouldn't be fixed. But sometimes it's still useful to have a test that goes somewhat beyond the spec.

Quoted 4 lines
Quoted 2 lines

There might be other ways to handle that kind of test, but it would need some more thought.

We could use a different name for "all" since it doesn't actually run

/all/ tests.

Quoted 1 line

Jeff suggested "standard", which seems sensible.

The challenge with changing this is all the CI scripts and other testing scripts out there that use all. If all suddenly changed, server maintainers might get a deluge of bug reports for failing odd test cases no one necessarily expected to work...

Quoted 2 lines

Also, we could add test categories specifically for particular server implementations, if that's interesting to folks.

I have already done so with a ganesha tag...

Literally all anyone has to do is start using a new tag so it's a trivial thing for developers to add.

Quoted 30 lines
Quoted 11 lines

--b.

Quoted 8 lines

---
nfs4.1/testmod.py | 2 ++

1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

Quoted 15 lines
Quoted 14 lines
nfs4.1/testmod.py index renamed from nfs4.1/testmod.py +0 -0

11e759d673fd..7b3bac543084 100644

nfs4.1/testmod.py +2 -1
@@ -386,6 +386,8 @@ def createtests(testdir):
    for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
        for f in t.flags_list:
            if f not in flag_dict:
                flag_dict[f] = bit
--
Quoted 1 line

2.39.2

--
Chuck Lever

author maintainer
#5 lore raw
Quoted 37 lines · Frank Filz
Quoted 13 lines

-----Original Message-----
From: Chuck Lever III [mailto:[email protected]]
Sent: Thursday, February 23, 2023 8:22 AM
To: Bruce Fields <[email protected]>
Cc: Jeff Layton <[email protected]>; Dai Ngo <[email protected]>; Linux NFS Mailing List <[email protected]>; Calum Mackay <[email protected]>; Frank Filz <[email protected]>
Subject: Re: [pynfs RFC PATCH] testserver.py: special-case the "all" flag

Quoted 1 line

On Feb 23, 2023, at 10:19 AM, J. Bruce Fields <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines · Jeff Layton
Quoted 1 line

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the

"all"

Quoted 19 lines
Quoted 18 lines
Quoted 7 lines

flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

In some (all?) cases where the "all" flag was left off, it was intentional.

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their particular case really shouldn't be fixed. But sometimes it's still useful to have a test that goes somewhat beyond the spec.

There might be other ways to handle that kind of test, but it would need some more thought.

Quoted 9 lines
Quoted 1 line

We could use a different name for "all" since it doesn't actually run

/all/ tests.

Quoted 1 line

Jeff suggested "standard", which seems sensible.

The challenge with changing this is all the CI scripts and other testing scripts out there that use all. If all suddenly changed, server maintainers might get a deluge of bug reports for failing odd test cases no one necessarily expected to work...

Are those CI systems pulling down the upstream tree to run? How do they contend with new tests that might suddenly show up as part of "all"?

Quoted 8 lines
Quoted 2 lines

Also, we could add test categories specifically for particular server implementations, if that's interesting to folks.

I have already done so with a ganesha tag...

Literally all anyone has to do is start using a new tag so it's a trivial thing for developers to add.

The problem is that you have to add the tag to hundreds of tests. It's scriptable, sure, but if you want to be at all selective, it's not trivial.

That said, I'm open to doing something different here. Maybe we could declare a new "everything" special case instead? It's confusing naming, but that would at least preserve the existing behavior for those CI systems.

Quoted 32 lines
Quoted 30 lines
Quoted 11 lines

--b.

Quoted 8 lines

---
nfs4.1/testmod.py | 2 ++

1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

Quoted 15 lines
Quoted 14 lines
nfs4.1/testmod.py index renamed from nfs4.1/testmod.py +0 -0

11e759d673fd..7b3bac543084 100644

nfs4.1/testmod.py +2 -1
@@ -386,6 +386,8 @@ def createtests(testdir):
    for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
        for f in t.flags_list:
            if f not in flag_dict:
                flag_dict[f] = bit
--
Quoted 1 line

2.39.2

--
Chuck Lever

Signature · 1 line
Jeff Layton <[email protected]>
#6 lore raw

----- Original Message -----

Quoted 50 lines

From: "Jeff Layton" <[email protected]>
To: "Frank Filz" <[email protected]>, "Chuck Lever III" <[email protected]>, "J. Bruce Fields" <[email protected]>
Cc: "Dai Ngo" <[email protected]>, "Linux NFS Mailing List" <[email protected]>, "Calum Mackay" <[email protected]>
Sent: Thursday, 23 February, 2023 18:10:47
Subject: Re: [pynfs RFC PATCH] testserver.py: special-case the "all" flag

Quoted 41 lines · Frank Filz
Quoted 13 lines

-----Original Message-----
From: Chuck Lever III [mailto:[email protected]]
Sent: Thursday, February 23, 2023 8:22 AM
To: Bruce Fields <[email protected]>
Cc: Jeff Layton <[email protected]>; Dai Ngo <[email protected]>; Linux NFS Mailing List <[email protected]>; Calum Mackay <[email protected]>; Frank Filz <[email protected]>
Subject: Re: [pynfs RFC PATCH] testserver.py: special-case the "all" flag

Quoted 1 line

On Feb 23, 2023, at 10:19 AM, J. Bruce Fields <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines · Jeff Layton
Quoted 1 line

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the

"all"

Quoted 16 lines
Quoted 16 lines
Quoted 7 lines

flag is supposed to run all of the "standard" tests. For v4.1 "all" is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

In some (all?) cases where the "all" flag was left off, it was intentional.

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their particular case really shouldn't be fixed. But sometimes it's still useful to have a test that goes somewhat beyond the spec.

Quoted 4 lines
Quoted 2 lines

There might be other ways to handle that kind of test, but it would need some more thought.

We could use a different name for "all" since it doesn't actually run

/all/ tests.

Quoted 1 line

Jeff suggested "standard", which seems sensible.

Quoted 8 lines
Quoted 5 lines

The challenge with changing this is all the CI scripts and other testing scripts out there that use all. If all suddenly changed, server maintainers might get a deluge of bug reports for failing odd test cases no one necessarily expected to work...

Are those CI systems pulling down the upstream tree to run? How do they contend with new tests that might suddenly show up as part of "all"?

We are actually explicitly disabling some tests that are part of the all

```
./testserver.py -v --noinit --xml=/scratch/jenkins/root/workspace/pynfs-test/xunit-report-v40.xml nfs-lab:/data/nfs all noACC2a noACC2b noACC2c noACC2d noACC2f noACC2r noACC2s noCID1 noCID2 noCID4a noCID4b noCID4c noCID4d noCID4e noCLOSE10 noCLOSE12 noCLOSE5 noCLOSE6 noCLOSE8 noCLOSE9 noCMT1aa noCMT1b noCMT1c noCMT1d noCMT1e noCMT1f noCMT2a noCMT2b noCMT2c noCMT2d noCMT2f noCMT2s noCMT3 noCMT4 noCR12 noLKT1 noLKT2a noLKT2b noLKT2c noLKT2d noLKT2f noLKT2s noLKT3 noLKT4 noLKT6 noLKT7 noLKT8 noLKT9 noLKU10 noLKU3 noLKU4 noLKU5 noLKU6 noLKU6b noLKU7 noLKU8 noLKU9 noLKUNONE noLOCK12a noLOCK12b noLOCK13 noLOCK24 noLOCKRNG noLOCKCHGU noLOCKCHGD noOPCF1 noOPCF6 noOPDG2 noOPDG3 noOPDG6 noOPDG7 noOPEN15 noOPEN18 noOPEN2 noOPEN20 noOPEN22 noOPEN23 noOPEN24 noOPEN26 noOPEN27 noOPEN28 noOPEN3 noOPEN30 noOPEN4 noRENEW3 noRD1 noRD10 noRD2 noRD3 noRD5 noRD6 noRD7a noRD7b noRD7c noRD7d noRD7f noRD7s noRPLY1 noRPLY10 noRPLY12 noRPLY14 noRPLY2 noRPLY3 noRPLY5 noRPLY6 noRPLY7 noRPLY8 noRPLY9 noSATT3d noSATT4 noSATT6d noSATT6r noSATT18 noSEC7 noWRT1 noWRT11 noWRT13 noWRT14 noWRT15 noWRT18 noWRT19 noWRT1b noWRT2 noWRT3 noWRT6a noWRT6b noWRT6c noWRT6d noWRT6f noWRT6s noWRT8 noWRT9
```

However, I don't think it will be a big issue to adjust if suddenly all has more tests. BTW, we have the containerized version as well, which is publicly available. I will write some docu...

podman run -ti --rm -v pwd/out:/out dcache/pynfs:0.1 /bin/bash -c "cd /pynfs/nfs4.0; python3 -u ./testserver.py --xml=/out/xunit-report-v40.xml --noinit nfs-lab:/data all; exit 0"

I am happy to share Dockerfile and make it more user friendly :)

Best regards,
Tigran.

Quoted 54 lines
Quoted 9 lines
Quoted 3 lines

Also, we could add test categories specifically for particular server implementations, if that's interesting to folks.

I have already done so with a ganesha tag...

Literally all anyone has to do is start using a new tag so it's a trivial thing for developers to add.

The problem is that you have to add the tag to hundreds of tests. It's scriptable, sure, but if you want to be at all selective, it's not trivial.

That said, I'm open to doing something different here. Maybe we could declare a new "everything" special case instead? It's confusing naming, but that would at least preserve the existing behavior for those CI systems.

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

--b.

Quoted 19 lines

---
nfs4.1/testmod.py | 2 ++

1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

nfs4.1/testmod.py index renamed from nfs4.1/testmod.py +0 -0

11e759d673fd..7b3bac543084 100644

nfs4.1/testmod.py +2 -0
@@ -386,6 +386,8 @@ def createtests(testdir):
    for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
        for f in t.flags_list:
Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
nfs4.1/testmod.py +0 -1
            if f not in flag_dict:
                flag_dict[f] = bit
--

2.39.2

--
Chuck Lever

--
Jeff Layton <[email protected]>

#7 lore raw
In reply to Jeff Layton
Quoted 25 lines

From: Jeff Layton [mailto:[email protected]]

Quoted 22 lines · Frank Filz
Quoted 15 lines

-----Original Message-----
From: Chuck Lever III [mailto:[email protected]]
Sent: Thursday, February 23, 2023 8:22 AM
To: Bruce Fields <[email protected]>
Cc: Jeff Layton <[email protected]>; Dai Ngo <[email protected]>; Linux NFS Mailing List <[email protected]>; Calum Mackay <[email protected]>; Frank Filz <[email protected]>
Subject: Re: [pynfs RFC PATCH] testserver.py: special-case the "all" flag

Quoted 2 lines

On Feb 23, 2023, at 10:19 AM, J. Bruce Fields
<[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines · Jeff Layton
Quoted 2 lines

The READMEs for v4.0 and v4.1 are inconsistent here. For v4.0, the

"all"

Quoted 1 line
Quoted 1 line
Quoted 1 line

flag is supposed to run all of the "standard" tests. For v4.1

"all"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

is documented to run all of the tests, but it actually doesn't since not every tests has "all" in its FLAGS: field.

I move that we change this. If I say that I want to run "all", then I really do want to run _all_ of the tests. Ensure that every test has the "all" flag set.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

In some (all?) cases where the "all" flag was left off, it was intentional.

We try not to flag spec-compliant servers as failing, because people are sometimes a little careless about "fixing" failures that in their particular case really shouldn't be fixed. But sometimes it's still useful to have a test that goes somewhat beyond

the

Quoted 10 lines

spec.

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

There might be other ways to handle that kind of test, but it would need some more thought.

We could use a different name for "all" since it doesn't actually run

/all/ tests.

Quoted 1 line

Jeff suggested "standard", which seems sensible.

Quoted 8 lines
Quoted 5 lines

The challenge with changing this is all the CI scripts and other testing scripts out there that use all. If all suddenly changed, server maintainers might get a deluge of bug reports for failing odd test cases no one necessarily expected to work...

Are those CI systems pulling down the upstream tree to run? How do they contend with new tests that might suddenly show up as part of "all"?

Honestly I'm not sure, the Ganesha CI may pull from a non-upstream repo. Or it may be that anything that has been added to "all" happens to be OK. I don't know...

Quoted 10 lines
Quoted 8 lines
Quoted 2 lines

Also, we could add test categories specifically for particular server implementations, if that's interesting to folks.

I have already done so with a ganesha tag...

Literally all anyone has to do is start using a new tag so it's a trivial thing for developers to add.

The problem is that you have to add the tag to hundreds of tests. It's

scriptable,

Quoted 3 lines

sure, but if you want to be at all selective, it's not trivial.

That said, I'm open to doing something different here. Maybe we could

declare

Quoted 1 line

a new "everything" special case instead? It's confusing naming, but that

would

Quoted 1 line

at least preserve the existing behavior for those CI systems.

That might be the best thing to do. That way existing scripts aren't broken, yet someone who genuinely wants to try and run everything can.

The next problem will be how to exclude tests that have specific conditions that can't be met, especially tests for a specific server implementation. Specifying everything -ganesha won't work because that will cut out tests that aren't Ganesha specific. But we could add a new ganeshaonly tag for those test cases that is added in addition to the ganesha tag. Then everthing -ganeshaonly excludes those while all ganesha still runs everything Ganesha is expected to pass.

Frank

Quoted 35 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

--b.

Quoted 19 lines

---
nfs4.1/testmod.py | 2 ++

1 file changed, 2 insertions(+)

If this is unacceptable, then an alternative could be to add a new (similarly special-cased) "everything" flag.

nfs4.1/testmod.py index renamed from nfs4.1/testmod.py +0 -0

11e759d673fd..7b3bac543084 100644

nfs4.1/testmod.py +2 -0
@@ -386,6 +386,8 @@ def createtests(testdir):
    for t in tests:
 ##         if not t.flags_list:
 ##             raise RuntimeError("%s has no flags" % t.fullname)
+        if "all" not in t.flags_list:
+            t.flags_list.append("all")
        for f in t.flags_list:
Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
nfs4.1/testmod.py +0 -1
            if f not in flag_dict:
                flag_dict[f] = bit
--

2.39.2

--
Chuck Lever

--
Jeff Layton <[email protected]>