Visit Our UNIX and Linux User Community


Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers testing
# 1  
Old 10-23-2007

first time use

Previous Thread | Next Thread
Test Your Knowledge in Computers #552
Difficulty: Medium
If variable i has the value 10, after x = 5 + (++i); the value of x after this code is 15.
True or False?

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ip up/down testing

#!/bin/bash ip=$1 if ; then echo "U must enter ip as argument: $0 " exit 1 fi testip=`echo $ip |grep -E "^((||1{2}|2|25)){3}(||1{2}|2|25)$"` if ; then echo "Wrong ip adress" exit 2 fi ping -c 2 $ip 2>&1 >/dev/null if ; then echo "$ip is UP" else echo "$ip is... (2 Replies)
Discussion started by: aco4u
2 Replies

2. UNIX for Advanced & Expert Users


what is the difference between white box and black box testing? (1 Reply)
Discussion started by: areef4u
1 Replies

3. UNIX for Advanced & Expert Users


what does one mean in the context of testing... UNIT TESTING & INITIAL LEVEL OF MENU TESTING (2 Replies)
Discussion started by: areef4u
2 Replies
MAC_TEST(4)						   BSD Kernel Interfaces Manual 					       MAC_TEST(4)

mac_test -- MAC framework testing policy SYNOPSIS
To compile the testing policy into your kernel, place the following lines in your kernel configuration file: options MAC options MAC_TEST Alternately, to load the testing module at boot time, place the following line in your kernel configuration file: options MAC and in loader.conf(5): mac_test_load="YES" DESCRIPTION
The mac_test policy module implements a testing facility for the MAC framework. Among other things, mac_test will try to catch corrupt labels the system is attempting to destroy and drop to the debugger. Additionally, a set of statistics regarding the number of times various MAC framework entry points have been called is stored in the security.mac.test sysctl(8) tree. Label Format No labels are defined for mac_test. SEE ALSO
mac(4), mac_biba(4), mac_bsdextended(4), mac_ifoff(4), mac_lomac(4), mac_mls(4), mac_none(4), mac_partition(4), mac_portacl(4), mac_seeotheruids(4), mac(9) HISTORY
The mac_test policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project. AUTHORS
This software was contributed to the FreeBSD Project by Network Associates Labs, the Security Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BUGS
See mac(9) concerning appropriateness for production use. The TrustedBSD MAC Framework is considered experimental in FreeBSD. While the MAC Framework design is intended to support the containment of the root user, not all attack channels are currently protected by entry point checks. As such, MAC Framework policies should not be relied on, in isolation, to protect against a malicious privileged user. BSD
December 1, 2002 BSD

Featured Tech Videos