File: variable_leading_underscore.sh

package info (click to toggle)
rsyslog 8.2512.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 30,464 kB
  • sloc: ansic: 123,809; sh: 42,109; makefile: 5,962; javascript: 1,842; python: 1,222; lex: 607; yacc: 193; perl: 162; sql: 103; tcl: 9; ruby: 2
file content (13 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Copyright 2015 Red Hat, Inc.
# This file is part of the rsyslog project, released  under ASL 2.0
# The configuration test should pass because we now support leading
# underscores in variable names.
. ${srcdir:=.}/diag.sh init
../tools/rsyslogd  -C -N1 -f$srcdir/testsuites/variable_leading_underscore.conf -M../runtime/.libs:../.libs
if [ $? -ne 0 ]; then
   echo "Error: config check fail"
   exit 1 
fi
exit_test