Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / logFiles / logfilter.sh
CommitLineData
3abe9331 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
10LOGFILE="lfilter.log2"
11FILTERED_LOG_FILE="filtered.log"
12EXPECTED_LOG_FILE="filtered_e.log2"
13
51fa56b9 14../../Install/bin/ttcn3_logfilter -o $FILTERED_LOG_FILE $LOGFILE MATCHING+ PARALLEL+
3abe9331 15diff $FILTERED_LOG_FILE $EXPECTED_LOG_FILE
16if [ $? -ne 0 ]; then
17 echo "Logfilter test failed! Overall verdict: fail"
18 exit 1
19else
20 echo "Logfilter test valid! Overall verdict: pass"
21 exit 0
22fi
This page took 0.024813 seconds and 5 git commands to generate.