summaryrefslogtreecommitdiff
path: root/src/equery/tests/test-help.sh
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-18 20:05:37 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-18 20:05:37 +0000
commitce8ff8c6d503a9d2adffdc6ba97e4c16b4821fa3 (patch)
tree7d2a50999a892294b73c5f3c177e0ce638ed3819 /src/equery/tests/test-help.sh
parentcd5a8e80f949f649b6d2b174bc899f1f092684fd (diff)
downloadgentoolkit-ce8ff8c6d503a9d2adffdc6ba97e4c16b4821fa3.tar.gz
Remove obsolete gentoolkit src directory
svn path=/trunk/gentoolkit/; revision=640
Diffstat (limited to 'src/equery/tests/test-help.sh')
-rwxr-xr-xsrc/equery/tests/test-help.sh105
1 files changed, 0 insertions, 105 deletions
diff --git a/src/equery/tests/test-help.sh b/src/equery/tests/test-help.sh
deleted file mode 100755
index 618aac1..0000000
--- a/src/equery/tests/test-help.sh
+++ /dev/null
@@ -1,105 +0,0 @@
-#! /bin/sh
-#
-# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
-# Copyright (c) 2004, Gentoo Foundation
-#
-# Licensed under the GNU General Public License, v2
-
-. common-functions.sh
-
-tmpfile=$(tempfilename)
-
-test_equery_help() {
- equery --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-help.out
-
-}
-
-test_belongs_help() {
- equery belongs --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-belongs-help.out
-}
-
-test_changes_help() {
- equery changes --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-changes-help.out
-}
-
-test_check_help() {
- equery check --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-check-help.out
-}
-
-test_depends_help() {
- equery depends --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-depends-help.out
-}
-
-test_depgraph_help() {
- equery depgraph --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-depgraph-help.out
-}
-
-test_files_help() {
- equery files --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-files-help.out
-}
-
-test_glsa_help() {
- equery glsa --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-glsa-help.out
-}
-
-test_hasuses_help() {
- equery hasuses --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-hasuses-help.out
-}
-
-test_list_help() {
- equery list --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-list-help.out
-}
-
-test_size_help() {
- equery size --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-size-help.out
-}
-
-test_stats_help() {
- equery stats --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-stats-help.out
-}
-
-test_uses_help() {
- equery uses --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-uses-help.out
-}
-
-test_which_help() {
- equery which --help > ${tmpfile}
- assert_samefile ${FUNCNAME} ${tmpfile} test-which-help.out
-}
-
-
-# run tests
-
-if [ "`hostname`" != "sky" ] ; then
- echo "Testing framework is beta and machine dependent; some tests will fail!"
-fi
-
-test_equery_help
-test_belongs_help
-test_check_help
-test_changes_help
-test_depends_help
-test_depgraph_help
-test_files_help
-test_glsa_help
-test_hasuses_help
-test_list_help
-test_size_help
-test_stats_help
-test_uses_help
-test_which_help
-
-rm -f *.tmp \ No newline at end of file