M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/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 <jiajun.xu@intel.com>
#
# 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