diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
commit | 43793fab84041cfc5c60c0151d1591b8a69fb24a (patch) | |
tree | 6208a7f4fc744684fce0f55acbb47511acace498 /eclass/tests | |
parent | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff) |
gentoo resync : 25.08.2018
Diffstat (limited to 'eclass/tests')
-rwxr-xr-x | eclass/tests/eutils_path_exists.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/eclass/tests/eutils_path_exists.sh b/eclass/tests/eutils_path_exists.sh deleted file mode 100755 index 00a89c7e446d..000000000000 --- a/eclass/tests/eutils_path_exists.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -source tests-common.sh - -inherit eutils - -test-path_exists() { - local exp=$1; shift - tbegin "path_exists($*) == ${exp}" - path_exists "$@" - [[ ${exp} -eq $? ]] - tend $? -} - -test-path_exists 1 -test-path_exists 1 -a -test-path_exists 1 -o - -good="/ . tests-common.sh /bin/bash" -test-path_exists 0 ${good} -test-path_exists 0 -a ${good} -test-path_exists 0 -o ${good} - -bad="/asjdkfljasdlfkja jlakjdsflkasjdflkasdjflkasdjflaskdjf" -test-path_exists 1 ${bad} -test-path_exists 1 -a ${bad} -test-path_exists 1 -o ${bad} - -test-path_exists 1 ${good} ${bad} -test-path_exists 1 -a ${good} ${bad} -test-path_exists 0 -o ${good} ${bad} - -texit |