Fix failure of the utimensat01 test
PATCH 1/1 Fix failure of the utimensat01 test
The error handling for "RW" opt of run_test brought about error results. This patch fixed that.
Signed-off-by WangYong <[email protected]>
testcases/kernel/syscalls/utimensat/utimensat_tests.sh +12 -12
@@ -260,22 +260,22 @@ echo "Testing read-only file, owned by s echo echo "***** Testing times==NULL case *****" -run_test "" 400 "" "" SUCCESS y y +run_test -W "" 400 "" "" SUCCESS y y echo "***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****" -run_test "" 400 "" "0 n 0 n" SUCCESS y y +run_test -W "" 400 "" "0 n 0 n" SUCCESS y y echo "***** Testing times=={ UTIME_OMIT, UTIME_OMIT } case *****" -run_test "" 400 "" "0 o 0 o" SUCCESS n n +run_test -W "" 400 "" "0 o 0 o" SUCCESS n n echo "***** Testing times=={ UTIME_NOW, UTIME_OMIT } case *****" -run_test "" 400 "" "0 n 0 o" SUCCESS y n +run_test -W "" 400 "" "0 n 0 o" SUCCESS y n echo "***** Testing times=={ UTIME_OMIT, UTIME_NOW } case *****" -run_test "" 400 "" "0 o 0 n" SUCCESS n y +run_test -W "" 400 "" "0 o 0 n" SUCCESS n y echo "***** Testing times=={ x, y } case *****" -run_test "" 400 "" "1 1 1 1" SUCCESS y y +run_test -W "" 400 "" "1 1 1 1" SUCCESS y y echo "============================================================"
@@ -284,22 +284,22 @@ echo "Testing read-only file, not owned echo echo "***** Testing times==NULL case *****" -run_test root 400 "" "" EACCES +run_test -RW root 400 "" "" EACCES echo "***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****" -run_test root 400 "" "0 n 0 n" EACCES +run_test -RW root 400 "" "0 n 0 n" EACCES echo "***** Testing times=={ UTIME_OMIT, UTIME_OMIT } case *****" -run_test root 400 "" "0 o 0 o" SUCCESS n n +run_test -RW root 400 "" "0 o 0 o" SUCCESS n n echo "***** Testing times=={ UTIME_NOW, UTIME_OMIT } case *****" -run_test root 400 "" "0 n 0 o" EPERM +run_test -RW root 400 "" "0 n 0 o" EPERM echo "***** Testing times=={ UTIME_OMIT, UTIME_NOW } case *****" -run_test root 400 "" "0 o 0 n" EPERM +run_test -RW root 400 "" "0 o 0 n" EPERM echo "***** Testing times=={ x, y } case *****" -run_test root 400 "" "1 1 1 1" EPERM +run_test -RW root 400 "" "1 1 1 1" EPERM echo "============================================================"
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list