X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2FREADME;h=ab47ef9c5e373fea813ef0abba4197e7b19dc527;hb=28818ffada5c811b215b8fef7b61f8ae696abd17;hp=2a94fdb0b83ab5fcbf1a2c6edaf36c2dbe765ec6;hpb=85c1f337be49eaa9a22e42a1c9958deef5ab57c3;p=git.git diff --git a/t/README b/t/README index 2a94fdb0..ab47ef9c 100644 --- a/t/README +++ b/t/README @@ -79,6 +79,14 @@ Second digit tells the particular command we are testing. Third digit (optionally) tells the particular switch or group of switches we are testing. +If you create files under t/ directory (i.e. here) that is not +the top-level test script, never name the file to match the above +pattern. The Makefile here considers all such files as the +top-level test script and tries to run all of them. A care is +especially needed if you are creating a common test library +file, similar to test-lib.sh, because such a library file may +not be suitable for standalone execution. + Writing Tests -------------