1#!/bin/sh 2 3# Copyright: 2015 Masatake YAMATO 4# License: GPL-2 5 6CTAGS=$1 7BUILD_SUBDIR=$2 8stderr_tmp=${BUILD_SUBDIR}/stderr-actual.txt.tmp 9 10${CTAGS} --options=NONE -o - --language-force=CTagsSelfTest --verbose --output-format=e-ctags input.cst \ 11 2> ${stderr_tmp} 12 13# externalSortTags invokes sort command, and it is logged to stderr. 14# Delete the line for the comparison. 15sed -e '/^system ("sort -u")$/d' < ${stderr_tmp} 1>&2 16rm ${stderr_tmp} 17 18exit $? 19