~ubuntu-branches/ubuntu/lucid/rsyslog/lucid-updates

« back to all changes in this revision

Viewing changes to tests/1.rstest

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-06-23 12:12:43 UTC
  • mfrom: (1.1.11 upstream) (3.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20090623121243-d2fejarzidywnn17
Tags: 4.2.0-1
* New upstream release of the now stable v4 branch.
  - Fix warnings when /etc/rsyslog.d/ is empty. Closes: #530228
* debian/patches/imudp_multiple_udp_sockets.patch
  - Removed, merged upstream.
* debian/rsyslog.default
  - Set default compat mode to '4'.
* debian/rsyslog.logcheck.ignore.server
  - Update logcheck rules files to also ignore rsyslogd and imklog stop
    messages.
* debian/control
  - Bump Standards-Version to 3.8.2. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
'test 1' <> $var or /* some comment */($SEVERITY == -4 +5 -(3 * - 2) and $fromhost == '127.0.0.1') then 
5
5
$$$
6
6
out:
7
 
00000000: PUSHCONSTANT  test 1[cstr]
8
 
00000001: PUSHMSGVAR    var[cstr]
9
 
00000002: !=    
10
 
00000003: PUSHMSGVAR    severity[cstr]
11
 
00000004: PUSHCONSTANT  4[nbr]
12
 
00000005: UNARY_MINUS   
13
 
00000006: PUSHCONSTANT  5[nbr]
14
 
00000007: +     
15
 
00000008: PUSHCONSTANT  3[nbr]
16
 
00000009: PUSHCONSTANT  2[nbr]
17
 
00000010: UNARY_MINUS   
18
 
00000011: *     
19
 
00000012: -     
20
 
00000013: ==    
21
 
00000014: PUSHMSGVAR    fromhost[cstr]
22
 
00000015: PUSHCONSTANT  127.0.0.1[cstr]
23
 
00000016: ==    
 
7
00000000: push_const    test 1[cstr]
 
8
00000001: push_msgvar   var[cstr]
 
9
00000002: cmp_!=        
 
10
00000003: push_msgvar   severity[cstr]
 
11
00000004: push_const    4[nbr]
 
12
00000005: unary_minus   
 
13
00000006: push_const    5[nbr]
 
14
00000007: add   
 
15
00000008: push_const    3[nbr]
 
16
00000009: push_const    2[nbr]
 
17
00000010: unary_minus   
 
18
00000011: mul   
 
19
00000012: sub   
 
20
00000013: cmp_==        
 
21
00000014: push_msgvar   fromhost[cstr]
 
22
00000015: push_const    127.0.0.1[cstr]
 
23
00000016: cmp_==        
24
24
00000017: and   
25
25
00000018: or    
26
26
$$$