File: test-loadmaximal

package info (click to toggle)
cpluff 0.2.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,996 kB
  • sloc: ansic: 9,055; sh: 4,734; cpp: 731; makefile: 382; xml: 244; sed: 16
file content (17 lines) | stat: -rwxr-xr-x 588 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /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-loadmaximal"
mkdir -p "$tmpdir"
LC_ALL=C libtool --mode=execute $TEST_WRAPPER ../console/cpluff-console <<EOI > "$tmpdir"/console-out.txt
set-log-level error
load-plugin $srcdir/plugins/maximal
show-plugin-info maximal
EOI
sed -n -e '/^{$/,/^}$/{/^  plugin_path =/!p}' < "$tmpdir"/console-out.txt > "$tmpdir"/filtered.txt
diff -u "$srcdir"/expected/output-loadmaximal.txt "$tmpdir"/filtered.txt