From cb875c9d24f7b2ea71190da3ec5522371eb149e6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 14 Mar 2019 23:39:41 -0400 Subject: tests/ob_match_arch.sh: Remove --- (limited to 'tests') diff --git a/tests/local.mk b/tests/local.mk index 56c7468..a42a502 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -1,5 +1,4 @@ TESTS = \ - %reldir%/ob_match_arch.sh \ %reldir%/ob_parse_dep.sh \ %reldir%/ob_reduce_deps.sh \ %reldir%/ob_arch_is_concerned.sh \ diff --git a/tests/ob_match_arch.sh b/tests/ob_match_arch.sh deleted file mode 100755 index e81f7ad..0000000 --- a/tests/ob_match_arch.sh +++ /dev/null @@ -1,65 +0,0 @@ -# Tests for ob_match_arch() -# -# Copyright (C) 2012, 2018 Patrick McDermott -# -# This file is part of opkbuild. -# -# opkbuild is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# opkbuild is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with opkbuild. If not, see . - -set -e - -. "${TOP_SRCDIR}/tests/aux/tap-functions.sh" -. "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" - -plan_ 8 - -command_ok_ 'all IN [all]' -- \ - ob_match_arch \ - 'all' \ - 'all' - -command_ok_ 'foo-bar-baz IN [any]' -- \ - ob_match_arch \ - 'foo-bar-baz' \ - 'any' - -command_ok_ 'foo-bar-baz IN [any all]' -- \ - ob_match_arch \ - 'foo-bar-baz' \ - 'any all' - -command_ok_ 'all IN [any all]' -- \ - ob_match_arch \ - 'all' \ - 'any all' - -command_ok_ 'foo-bar-baz IN [foo-bar-any]' -- \ - ob_match_arch \ - 'foo-bar-baz' \ - 'foo-bar-any' - -command_ok_ 'foo-bar-baz NOT IN [foo-bar-qux]' -- \ - not ob_match_arch \ - 'foo-bar-baz' \ - 'foo-bar-qux' - -command_ok_ 'foo-bar-baz IN [any-qux-any any-bar-any]' -- \ - ob_match_arch \ - 'foo-bar-baz' \ - 'any-qux-any any-bar-any' - -command_ok_ 'foo-bar-baz NOT IN [any-qux-any any-quux-any]' -- \ - not ob_match_arch \ - 'foo-bar-baz' \ - 'any-qux-any any-quux-any' -- cgit v0.9.1