122347Spst# Copyright (c) 2008 The NetBSD Foundation, Inc.
222347Spst# All rights reserved.
329964Sache#
429964Sache# Redistribution and use in source and binary forms, with or without
522347Spst# modification, are permitted provided that the following conditions
622347Spst# are met:
722347Spst# 1. Redistributions of source code must retain the above copyright
822347Spst#    notice, this list of conditions and the following disclaimer.
922347Spst# 2. Redistributions in binary form must reproduce the above copyright
1022347Spst#    notice, this list of conditions and the following disclaimer in the
1122347Spst#    documentation and/or other materials provided with the distribution.
1222347Spst#
1322347Spst# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
1422347Spst# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
1522347Spst# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1622347Spst# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1722347Spst# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
1822347Spst# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1922347Spst# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
2022347Spst# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2122347Spst# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
2222347Spst# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2322347Spst# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
2422347Spst# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2522347Spst
2622347Spstget_helpers()
2722347Spst{
2822347Spst    srcdir=$(atf_get_srcdir)
2922347Spst
3022347Spst    if [ ${#} -eq 0 ]; then
3122347Spst        set -- c_helpers cpp_helpers sh_helpers
3222347Spst    fi
3322347Spst
3422347Spst    for h_name in "${@}"; do
3522347Spst        echo ${srcdir}/${h_name}
3622347Spst    done
3722347Spst}
3822347Spst
3922347Spst# vim: syntax=sh:expandtab:shiftwidth=4:softtabstop=4
4022347Spst