]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/server: drop unused `base64.pl`
authorViktor Szakats <commit@vsz.me>
Fri, 14 Mar 2025 00:40:12 +0000 (01:40 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 14 Mar 2025 09:00:06 +0000 (10:00 +0100)
When committed in 2004, it served as a developer helper tool while
`coreutils` was yet missing a `base64` command.

Assisted-by: Dan Fandrich
Closes #16713

tests/server/Makefile.am
tests/server/base64.pl [deleted file]

index a93b2d1bf6aa0cdb7332b442b7cc9c8161474ef0..fb0d48d57fbf8c56608ad95b349dafbb377c361f 100644 (file)
@@ -49,7 +49,7 @@ endif
 # Makefile.inc provides neat definitions
 include Makefile.inc
 
-EXTRA_DIST = base64.pl CMakeLists.txt .checksrc
+EXTRA_DIST = CMakeLists.txt .checksrc
 
 CHECKSRC = $(CS_$(V))
 CS_0 = @echo "  RUN     " $@;
diff --git a/tests/server/base64.pl b/tests/server/base64.pl
deleted file mode 100755 (executable)
index 885e6f4..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env perl
-#***************************************************************************
-#                                  _   _ ____  _
-#  Project                     ___| | | |  _ \| |
-#                             / __| | | | |_) | |
-#                            | (__| |_| |  _ <| |___
-#                             \___|\___/|_| \_\_____|
-#
-# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
-#
-# This software is licensed as described in the file COPYING, which
-# you should have received as part of this distribution. The terms
-# are also available at https://curl.se/docs/copyright.html.
-#
-# You may opt to use, copy, modify, merge, publish, distribute and/or sell
-# copies of the Software, and permit persons to whom the Software is
-# furnished to do so, under the terms of the COPYING file.
-#
-# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
-# KIND, either express or implied.
-#
-# SPDX-License-Identifier: curl
-#
-###########################################################################
-
-use MIME::Base64 qw(encode_base64);
-
-my $buf;
-while(read(STDIN, $buf, 60*57)) {
-    my $enc = encode_base64($buf);
-    print "$enc";
-}