]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1683: remove commented-out check alternatives
authorDan Fandrich <dan@coneharvesters.com>
Fri, 20 Oct 2023 22:32:21 +0000 (15:32 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 20 Oct 2023 22:32:21 +0000 (15:32 -0700)
Python precheck/postcheck alternatives were included but commented out.
Since these are not used and perl is guaranteed to be available to run
the perl versions anyway, the Python ones are removed.

tests/data/test1683

index 178b4054dc11d8d5d3134e5a8a2531b71a7ca660..581470dfc6ab720c6678798f73df60194d010ac8 100644 (file)
@@ -40,11 +40,9 @@ to stay the same
 </file>
 <precheck>
 perl -e 'for my $i ((1..100)) { my $filename = "%LOGDIR/exist%TESTNUMBER.$i"; open(FH, ">", $filename) or die $!; print FH "to stay the same" ; close(FH) }'
-# python3 -c 'for i in range(1, 101): open("%LOGDIR/exist%TESTNUMBER.{}".format(i), mode="w").write("to stay the same")'
 </precheck>
 <postcheck>
 perl -e 'for my $i ((1..100)) { my $filename = "%LOGDIR/exist%TESTNUMBER.$i"; open(FH, "<", $filename) or die $!; (<FH> eq "to stay the same" and <FH> eq "") or die "incorrect $filename" ; close(FH) }'
-# python3 -c 'for i in range(1, 101): assert open("%LOGDIR/exist%TESTNUMBER.{}".format(i), mode="r").read(17) == "to stay the same"'
 </postcheck>
 </client>