# BSD LICENSE
#
-# Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
+# Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# quick and dirty function to find out number of sockets
def num_sockets():
- return len(glob("/sys/devices/system/node/node*"))
+ result = len(glob("/sys/devices/system/node/node*"))
+ if result == 0:
+ return 1
+ return result
# multiply given number for all sockets
# e.g. 32 becomes 32,32 or 32,32,32,32 etc.
},
]
},
+{
+ "Prefix" : "group_7",
+ "Memory" : "400",
+ "Tests" :
+ [
+ {
+ "Name" : "Access list control autotest",
+ "Command" : "acl_autotest",
+ "Func" : default_autotest,
+ "Report" : None,
+ },
+ {
+ "Name" : "Pattern match autotest",
+ "Command" : "pm_autotest",
+ "Func" : default_autotest,
+ "Report" : None,
+ },
+ ]
+},
]
# tests that should not be run when any other tests are running