Changeset 207 for trunk/test/testrun_1.sh
- Timestamp:
- Jan 16, 2009, 11:52:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testrun_1.sh
r172 r207 190 190 # 191 191 TESTPOLICY_11=" 192 [Misc] 193 UseAclCheck=yes 194 UseSelinuxCheck=yes 192 195 [ReadOnly] 193 196 dir=99${BASE} … … 231 234 232 235 TESTPOLICY_10=" 236 [Misc] 237 UseAclCheck=yes 238 UseSelinuxCheck=yes 233 239 [ReadOnly] 234 240 dir=99${BASE} … … 253 259 # CDIRS="a b c a/a a/b a/c a/a/a a/a/b a/a/c a/a/a/a a/a/a/b a/a/a/c"; 254 260 tmp=`grep CRIT $LOGFILE | wc -l` 255 if [ $tmp -ne 3]; then261 if [ $tmp -ne 5 ]; then 256 262 [ -z "$verbose" ] || log_msg_fail "policy count"; 257 263 return 1 … … 1241 1247 let "tcount = tcount + 1" >/dev/null 1242 1248 # 1243 if [ -z "$doall" -a $tcount -eq 10 ]; then 1244 log_skip 10 $MAXTEST 'ACL/SELinux test (or use --really-all)' 1245 let "tcount = tcount + 1" >/dev/null 1246 fi 1247 # 1248 if [ -z "$doall" -a $tcount -eq 11 ]; then 1249 log_skip 11 $MAXTEST 'ACL/SELinux test (or use --really-all)' 1250 let "tcount = tcount + 1" >/dev/null 1249 if [ $tcount -eq 10 ]; then 1250 if [ -z "$doall" ]; then 1251 log_skip 10 $MAXTEST 'ACL/SELinux test (or use --really-all)' 1252 log_skip 11 $MAXTEST 'ACL/SELinux test (or use --really-all)' 1253 let "tcount = tcount + 2" >/dev/null 1254 else 1255 # 'id -u' is posix 1256 # 1257 if test -f /usr/xpg4/bin/id 1258 then 1259 my_uid=`/usr/xpg4/bin/id -u` 1260 else 1261 my_uid=`id -u` 1262 fi 1263 # 1264 if [ ${my_uid} -ne 0 ]; then 1265 log_skip 10 $MAXTEST 'ACL/SELinux test (you are not root)' 1266 log_skip 11 $MAXTEST 'ACL/SELinux test (you are not root)' 1267 let "tcount = tcount + 2" >/dev/null 1268 else 1269 1270 SETFATTR=`find_path setfattr` 1271 if [ -z "$SETFATTR" ]; then 1272 log_skip 10 $MAXTEST 'ACL/SELinux test (setfattr not in path)' 1273 log_skip 11 $MAXTEST 'ACL/SELinux test (setfattr not in path)' 1274 let "tcount = tcount + 2" >/dev/null 1275 fi 1276 fi 1277 fi 1251 1278 fi 1252 1279 #
Note:
See TracChangeset
for help on using the changeset viewer.