commit:     0744f81fd5109779a86026db2d1c42ee0230a38d
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun May 19 14:31:06 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 19 14:31:06 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=0744f81f

test-functions: Actually remove print_args()

This was supposed to be staged for the last commit that touched
test-functions but was harmlessly omitted.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 test-functions | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/test-functions b/test-functions
index 24a7527..1fe07ad 100755
--- a/test-functions
+++ b/test-functions
@@ -430,23 +430,6 @@ iterate_tests() {
        return "$(( passed < total ))"
 }
 
-print_args() {
-       i=0
-       for arg; do
-               if [ "$((i += 1))" -eq 1 ]; then
-                       set --
-               fi
-               case ${arg} in
-                       ''|*[[:space:]]*)
-                               set -- "$@" "'${arg}'"
-                               ;;
-                       *)
-                               set -- "$@" "${arg}"
-               esac
-       done
-       printf '%s\n' "$*"
-}
-
 printf 'TAP version 13\n'
 
 unset -v dir

Reply via email to