OSDN Git Service

maint: remove unused test function
authorJim Meyering <meyering@redhat.com>
Thu, 18 Nov 2010 10:27:29 +0000 (11:27 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 20 Nov 2010 10:44:06 +0000 (11:44 +0100)
* tests/t-lib.sh (require_built_): Remove unused function.
It also happened to use skip_, which we're about to make a function.

tests/t-lib.sh

index 834a017..4aeae67 100644 (file)
@@ -129,19 +129,6 @@ run in the background.'
   fi
 }
 
-require_built_()
-{
-  skip_=no
-  for i in "$@"; do
-    case " $built_programs " in
-      *" $i "*) ;;
-      *) echo "$i: not built" 1>&2; skip_=yes ;;
-    esac
-  done
-
-  test $skip_ = yes && skip_test_ "required program(s) not built"
-}
-
 uid_is_privileged_()
 {
   # Make sure id -u succeeds.