From: Dan Fandrich Date: Fri, 20 Oct 2023 22:32:21 +0000 (-0700) Subject: test1683: remove commented-out check alternatives X-Git-Tag: curl-8_5_0~220 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31d96af8b55515a33d08c8920f0d8b472e71235a;p=thirdparty%2Fcurl.git test1683: remove commented-out check alternatives 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. --- diff --git a/tests/data/test1683 b/tests/data/test1683 index 178b4054dc..581470dfc6 100644 --- a/tests/data/test1683 +++ b/tests/data/test1683 @@ -40,11 +40,9 @@ to stay the same 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")' perl -e 'for my $i ((1..100)) { my $filename = "%LOGDIR/exist%TESTNUMBER.$i"; open(FH, "<", $filename) or die $!; ( eq "to stay the same" and 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"'