Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / logFiles / logfilter.sh
1 #!/bin/bash
2 ###############################################################################
3 # Copyright (c) 2000-2015 Ericsson Telecom AB
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Eclipse Public License v1.0
6 # which accompanies this distribution, and is available at
7 # http://www.eclipse.org/legal/epl-v10.html
8 ###############################################################################
9
10 LOGFILE="lfilter.log2"
11 FILTERED_LOG_FILE="filtered.log"
12 EXPECTED_LOG_FILE="filtered_e.log2"
13
14 ../../Install/bin/ttcn3_logfilter -o $FILTERED_LOG_FILE $LOGFILE MATCHING+ PARALLEL+
15 diff $FILTERED_LOG_FILE $EXPECTED_LOG_FILE
16 if [ $? -ne 0 ]; then
17 echo "Logfilter test failed! Overall verdict: fail"
18 exit 1
19 else
20 echo "Logfilter test valid! Overall verdict: pass"
21 exit 0
22 fi
This page took 0.03117 seconds and 5 git commands to generate.