mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
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.
This commit is contained in:
parent
b651aba096
commit
31d96af8b5
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user