File: lens-logrotate.sh

package info (click to toggle)
augeas 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,216 kB
  • ctags: 5,097
  • sloc: ansic: 48,281; sh: 11,387; cpp: 624; yacc: 515; ruby: 444; makefile: 319; lex: 198; perl: 27; pascal: 27
file content (11 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (142)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh
# Run one lens test.
# Derive names of inputs from the name of this script.

[ -n "$abs_top_srcdir" ] || abs_top_srcdir=$TOPDIR
LENS_DIR=$abs_top_srcdir/lenses

me=`echo "$0"|sed 's,.*/lens-\(.*\)\.sh$,\1,'`

t=$LENS_DIR/tests/test_$me.aug
exec augparse --nostdinc -I "$LENS_DIR" "$t"