#!/bin/bash # # iptables compile Test for toolchain test # The case extract toolchain tarball into temp folder # Then compile iptables with the toolchain environment # # Author: Jiajun Xu # # This file is licensed under the GNU General Public License, # Version 2. # . $COREBASE/scripts/qemuimage-testlib TIMEOUT=120 # Extract and test toolchain tarball Test_Toolchain iptables ${TIMEOUT} if [ $? -eq 0 ]; then Test_Info "iptables Test PASS" Test_Print_Result "iptables" 0 exit 0 elif [ $? -eq 1 ]; then Test_Info "iptables Test FAIL" Test_Print_Result "iptables" 1 exit 1 else Test_Info "Skip iptables Test due to some configuration problem" Test_Print_Result "iptables" 2 exit 2 fi t(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-58643691-1', 'auto'); ga('send', 'pageview');
summaryrefslogtreecommitdiff
blob: 3d0998e1049fef01d726dab2ddf374237a1ca9ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24