Name of the libcxx/test/std/numerics/rand/rand.dis/ directory

Is there a reason this directory is called rand.dis and not rand.dist, which is the name of the corresponding subclause in the standard? Should it be renamed, or is it preferable to leave it as is?

It’s probably just a typo. Do you want to submit a PR?

It would probably make more sense coming from somebody who can push the commit after it’s reviewed. Otherwise it’s going to be a 1500 line patch with no actual diffs, just lots of this:

diff --git a/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/assign.pass.cpp b/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/assign.pass.cpp
similarity index 100%
rename from libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/assign.pass.cpp
rename to libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/assign.pass.cpp
diff --git a/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/copy.pass.cpp b/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/copy.pass.cpp
similarity index 100%
rename from libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/copy.pass.cpp
rename to libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/copy.pass.cpp

Ok. I opened ⚙ D126221 [libc++][NFC] Rename rand.dis to rand.dist.

2 Likes