- Timestamp:
- Feb 14, 2012, 9:04:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testrun_1c.sh
r321 r393 64 64 chk_suiddata_7 () { 65 65 one_sec_sleep 66 tmp=`ls -l "${BASE}/a/a/y" 2>/dev/null | awk '{ print $1}' `66 tmp=`ls -l "${BASE}/a/a/y" 2>/dev/null | awk '{ print $1}' | cut -c 1-10` 67 67 if [ "x$tmp" = "x-r-Sr--r--" ]; then 68 68 egrep "CRIT.*POLICY \[SuidCheck\].*${BASE}/a/a/y" $LOGFILE >/dev/null 2>&1 … … 80 80 return 1 81 81 fi 82 tmp=`ls -l "${BASE}/a/a/a/y" 2>/dev/null | awk '{ print $1}' `82 tmp=`ls -l "${BASE}/a/a/a/y" 2>/dev/null | awk '{ print $1}' | cut -c 1-10` 83 83 if [ "x$tmp" = "x-r-Sr--r--" ]; then 84 84 egrep "CRIT.*POLICY \[SuidCheck\].*${BASE}/a/a/a/y" $LOGFILE >/dev/null 2>&1 … … 96 96 return 1 97 97 fi 98 tmp=`ls -l "${BASE}/a/abc/y" 2>/dev/null | awk '{ print $1}' `98 tmp=`ls -l "${BASE}/a/abc/y" 2>/dev/null | awk '{ print $1}' | cut -c 1-10` 99 99 if [ "x$tmp" = "x-r-Sr--r--" ]; then 100 100 egrep "CRIT.*POLICY \[SuidCheck\].*${BASE}/a/abc/y" $LOGFILE >/dev/null 2>&1 … … 135 135 chk_suiddata_6 () { 136 136 one_sec_sleep 137 tmp=`ls -l "${BASE}/a/a/y" 2>/dev/null | awk '{ print $1}' `137 tmp=`ls -l "${BASE}/a/a/y" 2>/dev/null | awk '{ print $1}' | cut -c 1-10` 138 138 if [ "x$tmp" = "x-rwsr-xr-x" ]; then 139 139 egrep "CRIT.*POLICY \[SuidCheck\].*${BASE}/a/a/y" $LOGFILE >/dev/null 2>&1 … … 250 250 chk_suiddata_3 () { 251 251 one_sec_sleep 252 tmp=`ls -l "${BASE}/a/a/y" 2>/dev/null | awk '{ print $1}' `252 tmp=`ls -l "${BASE}/a/a/y" 2>/dev/null | awk '{ print $1}' | cut -c 1-10` 253 253 if [ "x$tmp" = "x-rwxr-xr-x" ]; then 254 254 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.