Also remove some dead code while we are in there making changes.
Signed-off-by: Paul Moore <[email protected]>
---
tests/regression | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/tests/regression b/tests/regression
index 3d694d8..3d5d70b 100755
--- a/tests/regression
+++ b/tests/regression
@@ -226,7 +226,7 @@ function generate_random_data() {
#
function run_test_bpf_sim_fuzz() {
local -a COL_WIDTH=(26 17 17 17 17 17 17)
- local subtestnum=1
+ local subtestnum=0
local testdata=""
local -a data
@@ -235,19 +235,6 @@ function run_test_bpf_sim_fuzz() {
local testname=${line[0]}
local stress_count=${line[1]}
- # Generate the test number string for the line of batch test data
- local testnumstr=$(generate_test_num "$1" $2 0)
-
- # Set up log file test data line for the input test data. Spacing is
- # added to align the output in the correct columns.
- data[0]=$(printf "%-${COL_WIDTH[0]}s" ${line[0]})
- testdata=("$testdata${data[0]}")
- data[1]=$(printf "%s" ${line[1]})
- testdata=("$testdata${data[1]}")
-
- # Print out the input test data to the log file
- print_data "$testnumstr" "$testdata"
-
for i in `seq 0 $stress_count`;
do
local sys=$(generate_random_data)
@@ -258,7 +245,7 @@ function run_test_bpf_sim_fuzz() {
testdata=""
# Get the generated sub-test num string
- testnumstr=$(generate_test_num "$1" $2 $subtestnum)
+ local testnumstr=$(generate_test_num "$1" $2 $subtestnum)
# Set up log file test data line for this individual test.
# Spacing is added to align the output in the correct columns.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss