#! /bin/sh # Copyright 2007 Johannes Lehtinen # This shell script is free software; Johannes Lehtinen gives unlimited # permission to copy, distribute and modify it. set -e tmpdir="tmp/test-extpoints" mkdir -p "$tmpdir" LC_ALL=C libtool --mode=execute $TEST_WRAPPER ../console/cpluff-console < "$tmpdir"/console-out.txt set-log-level error load-plugin $srcdir/plugins/maximal list-ext-points EOI sed -n -e '/^Installed extension points:$/,/^C-Pluff/p' < "$tmpdir"/console-out.txt > "$tmpdir"/filtered.txt diff -u "$srcdir"/expected/output-extpoints.txt "$tmpdir"/filtered.txt