diff options
Diffstat (limited to 'src/equery/tests/test-depgraph.sh')
| -rwxr-xr-x | src/equery/tests/test-depgraph.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/equery/tests/test-depgraph.sh b/src/equery/tests/test-depgraph.sh deleted file mode 100755 index 016bb37..0000000 --- a/src/equery/tests/test-depgraph.sh +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/bash -# -# 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_depgraph() { - equery depgraph gcc > ${tmpfile} - - x=$(grep "app-shells/bash" ${tmpfile} | wc -l) - - assert_eq ${FUNCNAME} ${x} 1 - - x=$(grep "virtual/libc" ${tmpfile} | wc -l) - assert_eq ${FUNCNAME} ${x} 1 -} - -# Run tests - -test_depgraph - -rm -f ${tmpfile}
\ No newline at end of file |
