aboutsummaryrefslogtreecommitdiff
blob: 491868f96e8d18b95715406356c530f1e76cb2fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /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_which() {
	file=$(equery which gcc)
	
	assert_exists ${FUNCNAME} ${file}
}

# Run tests

test_which

rm -f ${tmpfile}