mirror of
https://github.com/curl/curl.git
synced 2026-07-27 03:27:15 +03:00
libtests: enable strict/warnings, fix formatting
This commit is contained in:
parent
364c5442c5
commit
28957cb37c
6 changed files with 17 additions and 0 deletions
|
|
@ -22,6 +22,8 @@
|
|||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# Usage:
|
||||
# perl mk-lib1521.pl < ../../include/curl/curl.h lib1521.c
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# Determine if curl-config --protocols/--features matches the
|
||||
# curl --version protocols/features
|
||||
if($#ARGV != 2) {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# Determine if curl-config --version matches the curl --version
|
||||
if($#ARGV != 2) {
|
||||
print "Usage: $0 curl-config-script curl-version-output-file version|vernum\n";
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# Determine if the given curl executable supports the 'openssl' SSL engine
|
||||
if($#ARGV != 0) {
|
||||
print "Usage: $0 curl-executable\n";
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# Perform simple file and directory manipulation in a portable way
|
||||
if($#ARGV <= 0) {
|
||||
print "Usage: $0 mkdir|rmdir|rm|move|gone path1 [path2] [more commands...]\n";
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# Prepare a directory with known files and clean up afterwards
|
||||
use Time::Local;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue