Hi Yamato,
On Wed, 2008-08-20 at 14:08 +0900, Masatake YAMATO wrote:
> > > How about introducing TCID_DEFINE?
> > >
> > > I'm not sure puttint TCID_DEFINE macro to test.h.
> > > I'm not sure using a symbol as an argument for TCID_DEFINE macro
> > > is better than using a string. (I had strong lisp backgroud:-)
> > >
> > > If this acceptable, I'll update related documents and
> > > test cases I worked.
> >
> > I think, this is fine. You can work on other test cases you worked on
> > along similar lines. The patch is through.
>
> I've done on the other test cases.
> In addition, I've cleaned up Makefiles related to _64 and _16 testcases
> as suggested by Mike Frysinger.
>
I think was suggested by Garrett Cooper.
> Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]>
Thanks. The patch works fine and is merged. See the results of Run post
patching:
posix_fadvise01 1 PASS : call succeeded expectedly
posix_fadvise01 2 PASS : call succeeded expectedly
posix_fadvise01 3 PASS : call succeeded expectedly
posix_fadvise01 4 PASS : call succeeded expectedly
posix_fadvise01 5 PASS : call succeeded expectedly
posix_fadvise01 6 PASS : call succeeded expectedly
<<<test_start>>>
tag=posix_fadvise01 stime=1219229307
cmdline=" posix_fadvise01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
posix_fadvise01_64 1 PASS : call succeeded expectedly
posix_fadvise01_64 2 PASS : call succeeded expectedly
posix_fadvise01_64 3 PASS : call succeeded expectedly
posix_fadvise01_64 4 PASS : call succeeded expectedly
posix_fadvise01_64 5 PASS : call succeeded expectedly
posix_fadvise01_64 6 PASS : call succeeded expectedly
<<<test_start>>>
tag=posix_fadvise01_64 stime=1219229307
cmdline=" posix_fadvise01_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
posix_fadvise02 1 PASS : expected failure - returned value = 9 :
Bad file descriptor
posix_fadvise02 2 PASS : expected failure - returned value = 9 :
Bad file descriptor
posix_fadvise02 3 PASS : expected failure - returned value = 9 :
Bad file descriptor
posix_fadvise02 4 PASS : expected failure - returned value = 9 :
Bad file descriptor
posix_fadvise02 5 PASS : expected failure - returned value = 9 :
Bad file descriptor
posix_fadvise02 6 PASS : expected failure - returned value = 9 :
Bad file descriptor
<<<test_start>>>
tag=posix_fadvise02 stime=1219229307
cmdline=" posix_fadvise02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
posix_fadvise02_64 1 PASS : expected failure - returned value =
9 : Bad file descriptor
posix_fadvise02_64 2 PASS : expected failure - returned value =
9 : Bad file descriptor
posix_fadvise02_64 3 PASS : expected failure - returned value =
9 : Bad file descriptor
posix_fadvise02_64 4 PASS : expected failure - returned value =
9 : Bad file descriptor
posix_fadvise02_64 5 PASS : expected failure - returned value =
9 : Bad file descriptor
posix_fadvise02_64 6 PASS : expected failure - returned value =
9 : Bad file descriptor
<<<test_start>>>
tag=posix_fadvise02_64 stime=1219229307
cmdline=" posix_fadvise02_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
posix_fadvise03 1 PASS : expected failure - returned value = 22,
advise = 6 : Invalid argument
posix_fadvise03 2 PASS : expected failure - returned value = 22,
advise = 7 : Invalid argument
posix_fadvise03 3 PASS : expected failure - returned value = 22,
advise = 8 : Invalid argument
posix_fadvise03 4 PASS : expected failure - returned value = 22,
advise = 9 : Invalid argument
posix_fadvise03 5 PASS : expected failure - returned value = 22,
advise = 10 : Invalid argument
posix_fadvise03 6 PASS : expected failure - returned value = 22,
advise = 11 : Invalid argument
posix_fadvise03 7 PASS : expected failure - returned value = 22,
advise = 12 : Invalid argument
posix_fadvise03 8 PASS : expected failure - returned value = 22,
advise = 13 : Invalid argument
posix_fadvise03 9 PASS : expected failure - returned value = 22,
advise = 14 : Invalid argument
posix_fadvise03 10 PASS : expected failure - returned value = 22,
advise = 15 : Invalid argument
posix_fadvise03 11 PASS : expected failure - returned value = 22,
advise = 16 : Invalid argument
posix_fadvise03 12 PASS : expected failure - returned value = 22,
advise = 17 : Invalid argument
posix_fadvise03 13 PASS : expected failure - returned value = 22,
advise = 18 : Invalid argument
posix_fadvise03 14 PASS : expected failure - returned value = 22,
advise = 19 : Invalid argument
posix_fadvise03 15 PASS : expected failure - returned value = 22,
advise = 20 : Invalid argument
posix_fadvise03 16 PASS : expected failure - returned value = 22,
advise = 21 : Invalid argument
posix_fadvise03 17 PASS : expected failure - returned value = 22,
advise = 22 : Invalid argument
posix_fadvise03 18 PASS : expected failure - returned value = 22,
advise = 23 : Invalid argument
posix_fadvise03 19 PASS : expected failure - returned value = 22,
advise = 24 : Invalid argument
posix_fadvise03 20 PASS : expected failure - returned value = 22,
advise = 25 : Invalid argument
posix_fadvise03 21 PASS : expected failure - returned value = 22,
advise = 26 : Invalid argument
posix_fadvise03 22 PASS : expected failure - returned value = 22,
advise = 27 : Invalid argument
posix_fadvise03 23 PASS : expected failure - returned value = 22,
advise = 28 : Invalid argument
posix_fadvise03 24 PASS : expected failure - returned value = 22,
advise = 29 : Invalid argument
posix_fadvise03 25 PASS : expected failure - returned value = 22,
advise = 30 : Invalid argument
posix_fadvise03 26 PASS : expected failure - returned value = 22,
advise = 31 : Invalid argument
<<<test_start>>>
tag=posix_fadvise03 stime=1219229307
cmdline=" posix_fadvise03"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=posix_fadvise03_64 stime=1219229307
cmdline=" posix_fadvise03_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
posix_fadvise03_64 1 PASS : expected failure - returned value =
22, advise = 6 : Invalid argument
posix_fadvise03_64 2 PASS : expected failure - returned value =
22, advise = 7 : Invalid argument
posix_fadvise03_64 3 PASS : expected failure - returned value =
22, advise = 8 : Invalid argument
posix_fadvise03_64 4 PASS : expected failure - returned value =
22, advise = 9 : Invalid argument
posix_fadvise03_64 5 PASS : expected failure - returned value =
22, advise = 10 : Invalid argument
posix_fadvise03_64 6 PASS : expected failure - returned value =
22, advise = 11 : Invalid argument
posix_fadvise03_64 7 PASS : expected failure - returned value =
22, advise = 12 : Invalid argument
posix_fadvise03_64 8 PASS : expected failure - returned value =
22, advise = 13 : Invalid argument
posix_fadvise03_64 9 PASS : expected failure - returned value =
22, advise = 14 : Invalid argument
posix_fadvise03_64 10 PASS : expected failure - returned value =
22, advise = 15 : Invalid argument
posix_fadvise03_64 11 PASS : expected failure - returned value =
22, advise = 16 : Invalid argument
posix_fadvise03_64 12 PASS : expected failure - returned value =
22, advise = 17 : Invalid argument
posix_fadvise03_64 13 PASS : expected failure - returned value =
22, advise = 18 : Invalid argument
posix_fadvise03_64 14 PASS : expected failure - returned value =
22, advise = 19 : Invalid argument
posix_fadvise03_64 15 PASS : expected failure - returned value =
22, advise = 20 : Invalid argument
posix_fadvise03_64 16 PASS : expected failure - returned value =
22, advise = 21 : Invalid argument
posix_fadvise03_64 17 PASS : expected failure - returned value =
22, advise = 22 : Invalid argument
posix_fadvise03_64 18 PASS : expected failure - returned value =
22, advise = 23 : Invalid argument
posix_fadvise03_64 19 PASS : expected failure - returned value =
22, advise = 24 : Invalid argument
posix_fadvise03_64 20 PASS : expected failure - returned value =
22, advise = 25 : Invalid argument
posix_fadvise03_64 21 PASS : expected failure - returned value =
22, advise = 26 : Invalid argument
posix_fadvise03_64 22 PASS : expected failure - returned value =
22, advise = 27 : Invalid argument
posix_fadvise03_64 23 PASS : expected failure - returned value =
22, advise = 28 : Invalid argument
posix_fadvise03_64 24 PASS : expected failure - returned value =
22, advise = 29 : Invalid argument
posix_fadvise03_64 25 PASS : expected failure - returned value =
22, advise = 30 : Invalid argument
posix_fadvise03_64 26 PASS : expected failure - returned value =
22, advise = 31 : Invalid argument
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=posix_fadvise04 stime=1219229307
cmdline=" posix_fadvise04"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
posix_fadvise04 1 PASS : expected failure - returned value = 29 :
Illegal seek
posix_fadvise04 2 PASS : expected failure - returned value = 29 :
Illegal seek
posix_fadvise04 3 PASS : expected failure - returned value = 29 :
Illegal seek
posix_fadvise04 4 PASS : expected failure - returned value = 29 :
Illegal seek
posix_fadvise04 5 PASS : expected failure - returned value = 29 :
Illegal seek
posix_fadvise04 6 PASS : expected failure - returned value = 29 :
Illegal seek
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=posix_fadvise04_64 stime=1219229307
cmdline=" posix_fadvise04_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
posix_fadvise04_64 1 PASS : expected failure - returned value =
29 : Illegal seek
posix_fadvise04_64 2 PASS : expected failure - returned value =
29 : Illegal seek
posix_fadvise04_64 3 PASS : expected failure - returned value =
29 : Illegal seek
posix_fadvise04_64 4 PASS : expected failure - returned value =
29 : Illegal seek
posix_fadvise04_64 5 PASS : expected failure - returned value =
29 : Illegal seek
posix_fadvise04_64 6 PASS : expected failure - returned value =
29 : Illegal seek
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ftruncate01 stime=1219229307
cmdline="ftruncate01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate01 1 PASS : Functionality of ftruncate() on testfile
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ftruncate01_64 stime=1219229307
cmdline="ftruncate01_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate01_64 1 PASS : Functionality of ftruncate() on testfile
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ftruncate02 stime=1219229307
cmdline="ftruncate02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate02 1 PASS : Functionality of ftruncate(2) on testfile
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ftruncate02_64 stime=1219229307
cmdline="ftruncate02_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate02_64 1 PASS : Functionality of ftruncate(2) on testfile
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=ftruncate03 stime=1219229307
cmdline="ftruncate03"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate03 1 PASS : Test Passed
ftruncate03 2 PASS : Test Passed
ftruncate03 3 PASS : Test Passed
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ftruncate03_64 stime=1219229307
cmdline="ftruncate03_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate03_64 1 PASS : Test Passed
ftruncate03_64 2 PASS : Test Passed
ftruncate03_64 3 PASS : Test Passed
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ftruncate04 stime=1219229307
cmdline="ftruncate04"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate04 1 CONF : The filesystem where /tmp is mounted does not
support mandatory locks. Cannot run this test.
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=ftruncate04_64 stime=1219229307
cmdline="ftruncate04_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
ftruncate04_64 1 CONF : The filesystem where /tmp is mounted does
not support mandatory locks. Cannot run this test.
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=sendfile02 stime=1219229307
cmdline="sendfile02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile02 1 PASS : functionality of sendfile() is correct
sendfile02 1 PASS : functionality of sendfile() is correct
sendfile02 2 PASS : functionality of sendfile() is correct
sendfile02 1 PASS : functionality of sendfile() is correct
sendfile02 2 PASS : functionality of sendfile() is correct
sendfile02 3 PASS : functionality of sendfile() is correct
sendfile02 1 PASS : functionality of sendfile() is correct
sendfile02 2 PASS : functionality of sendfile() is correct
sendfile02 3 PASS : functionality of sendfile() is correct
sendfile02 4 PASS : functionality of sendfile() is correct
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile02_64 stime=1219229307
cmdline="sendfile02_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile02_64 1 PASS : functionality of sendfile() is correct
sendfile02_64 1 PASS : functionality of sendfile() is correct
sendfile02_64 2 PASS : functionality of sendfile() is correct
sendfile02_64 1 PASS : functionality of sendfile() is correct
sendfile02_64 2 PASS : functionality of sendfile() is correct
sendfile02_64 3 PASS : functionality of sendfile() is correct
sendfile02_64 1 PASS : functionality of sendfile() is correct
sendfile02_64 2 PASS : functionality of sendfile() is correct
sendfile02_64 3 PASS : functionality of sendfile() is correct
sendfile02_64 4 PASS : functionality of sendfile() is correct
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile03 stime=1219229307
cmdline="sendfile03"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile03 1 PASS : sendfile() returned 9 : Bad file descriptor
sendfile03 2 PASS : sendfile() returned 9 : Bad file descriptor
sendfile03 3 PASS : sendfile() returned 9 : Bad file descriptor
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile03_64 stime=1219229307
cmdline="sendfile03_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile03_64 1 PASS : sendfile() returned 9 : Bad file descriptor
sendfile03_64 2 PASS : sendfile() returned 9 : Bad file descriptor
sendfile03_64 3 PASS : sendfile() returned 9 : Bad file descriptor
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=sendfile04 stime=1219229307
cmdline="sendfile04"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile04 1 PASS : sendfile() returned 14 : Bad address
sendfile04 2 PASS : sendfile() returned 14 : Bad address
sendfile04 3 PASS : sendfile() returned 14 : Bad address
sendfile04 4 PASS : sendfile() returned 14 : Bad address
sendfile04 5 PASS : sendfile() returned 14 : Bad address
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile04_64 stime=1219229307
cmdline="sendfile04_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile04_64 1 PASS : sendfile() returned 14 : Bad address
sendfile04_64 2 PASS : sendfile() returned 14 : Bad address
sendfile04_64 3 PASS : sendfile() returned 14 : Bad address
sendfile04_64 4 PASS : sendfile() returned 14 : Bad address
sendfile04_64 5 PASS : sendfile() returned 14 : Bad address
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile05 stime=1219229307
cmdline="sendfile05"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile05 1 PASS : sendfile() returned 22 : Invalid argument
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile05_64 stime=1219229307
cmdline="sendfile05_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile05_64 1 PASS : sendfile() returned 22 : Invalid argument
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile06 stime=1219229307
cmdline="sendfile06"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile06 1 PASS : functionality of sendfile() is correct
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile06_64 stime=1219229307
cmdline="sendfile06_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile06_64 1 PASS : functionality of sendfile() is correct
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile07 stime=1219229307
cmdline="sendfile07"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile07 1 PASS : sendfile() returned 11 : Resource temporarily
unavailable
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sendfile07_64 stime=1219229307
cmdline="sendfile07_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
sendfile07_64 1 PASS : sendfile() returned 11 : Resource
temporarily unavailable
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=setgid01 stime=1219229307
cmdline="setgid01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
setgid01 1 PASS : setgid(0) returned 0
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
setgid01_16 1 PASS : setgid(0) returned 0
<<<test_start>>>
tag=setgid01_16 stime=1219229307
cmdline="setgid01_16"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
setgid02 1 PASS : setgid returned EPERM
<<<test_start>>>
tag=setgid02 stime=1219229307
cmdline="setgid02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
setgid02_16 1 PASS : setgid returned EPERM
<<<test_start>>>
tag=setgid02_16 stime=1219229307
cmdline="setgid02_16"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=setgid03 stime=1219229307
cmdline="setgid03"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
setgid03 1 PASS : functionality of getgid() is correct
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
setgid03_16 1 PASS : functionality of getgid() is correct
<<<test_start>>>
tag=setgid03_16 stime=1219229307
cmdline="setgid03_16"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=truncate01 stime=1219229307
cmdline="truncate01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate01 1 PASS : Functionality of truncate(testfile, 256)
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=truncate01_64 stime=1219229307
cmdline="truncate01_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate01_64 1 PASS : Functionality of truncate(testfile, 256)
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=truncate02 stime=1219229307
cmdline="truncate02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate02 1 PASS : Functionality of truncate(2) on testfile
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=truncate02_64 stime=1219229307
cmdline="truncate02_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate02_64 1 PASS : Functionality of truncate(2) on testfile
successful
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=truncate03 stime=1219229307
cmdline="truncate03"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate03 1 PASS : truncate() fails, No Search permissions to
process, errno=13
truncate03 2 PASS : truncate() fails, Path contains regular file,
errno=20
truncate03 3 PASS : truncate() fails, Address beyond address
space, errno=14
truncate03 4 PASS : truncate() fails, Negative address, errno=14
truncate03 5 PASS : truncate() fails, Pathname too long, errno=36
truncate03 6 PASS : truncate() fails, Pathname is empty, errno=2
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=truncate03_64 stime=1219229307
cmdline="truncate03_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate03_64 1 PASS : truncate() fails, No Search permissions to
process, errno=13
truncate03_64 2 PASS : truncate() fails, Path contains regular
file, errno=20
truncate03_64 3 PASS : truncate() fails, Address beyond address
space, errno=14
truncate03_64 4 PASS : truncate() fails, Negative address,
errno=14
truncate03_64 5 PASS : truncate() fails, Pathname too long,
errno=36
truncate03_64 6 PASS : truncate() fails, Pathname is empty,
errno=2
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=truncate04 stime=1219229307
cmdline="truncate04"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate04 1 PASS : truncate() fails, File is a directory,
errno=21
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=truncate04_64 stime=1219229307
cmdline="truncate04_64"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
truncate04_64 1 PASS : truncate() fails, File is a directory,
errno=21
incrementing stop
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
Regards--
Subrata
>
>
> Index: testcases/kernel/syscalls/fadvise/Makefile
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/fadvise/Makefile,v
> retrieving revision 1.1
> diff -u -r1.1 Makefile
> --- testcases/kernel/syscalls/fadvise/Makefile 22 Nov 2007 13:58:24
> -0000 1.1
> +++ testcases/kernel/syscalls/fadvise/Makefile 20 Aug 2008 03:18:43
> -0000
> @@ -22,12 +22,12 @@
> CFLAGS += -I../../../../include -Wall
> LDLIBS += -L../../../../lib -lltp
>
> -SRCS = $(wildcard posix_fadvise[0-9][0-9].c)
> +SRCS = $(wildcard *.c)
> TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%_64,$(SRCS))
>
> -%_64.c: %.c
> - echo "#define _FILE_OFFSET_BITS 64" > $@
> - cat $< >> $@
> +%_64.o: %.c
> + $(COMPILE.c) $(OUTPUT_OPTION) $<
> +%_64: CFLAGS += -DTST_USE_NEWER64_SYSCALL=1 -D_FILE_OFFSET_BITS=64
>
>
> all: $(TARGETS)
> Index: testcases/kernel/syscalls/fadvise/posix_fadvise01.c
> ===================================================================
> RCS file:
> /cvsroot/ltp/ltp/testcases/kernel/syscalls/fadvise/posix_fadvise01.c,v
> retrieving revision 1.4
> diff -u -r1.4 posix_fadvise01.c
> --- testcases/kernel/syscalls/fadvise/posix_fadvise01.c 21 Jul 2008
> 11:07:37 -0000 1.4
> +++ testcases/kernel/syscalls/fadvise/posix_fadvise01.c 20 Aug 2008
> 03:18:43 -0000
> @@ -57,7 +57,7 @@
> void cleanup();
>
>
> -char *TCID="posix_fadvise01"; /* Test program identifier. */
> +TCID_DEFINE(posix_fadvise01); /* Test program identifier. */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
>
> char fname[] = "/bin/cat"; /* test executable to open */
> Index: testcases/kernel/syscalls/fadvise/posix_fadvise02.c
> ===================================================================
> RCS file:
> /cvsroot/ltp/ltp/testcases/kernel/syscalls/fadvise/posix_fadvise02.c,v
> retrieving revision 1.3
> diff -u -r1.3 posix_fadvise02.c
> --- testcases/kernel/syscalls/fadvise/posix_fadvise02.c 22 Apr 2008
> 15:29:43 -0000 1.3
> +++ testcases/kernel/syscalls/fadvise/posix_fadvise02.c 20 Aug 2008
> 03:18:43 -0000
> @@ -56,7 +56,7 @@
> void cleanup();
>
>
> -char *TCID="posix_fadvise02"; /* Test program identifier. */
> +TCID_DEFINE(posix_fadvise02); /* Test program identifier. */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
>
> #define WRONG_FD 42 /* The number has no meaning.
> Index: testcases/kernel/syscalls/fadvise/posix_fadvise03.c
> ===================================================================
> RCS file:
> /cvsroot/ltp/ltp/testcases/kernel/syscalls/fadvise/posix_fadvise03.c,v
> retrieving revision 1.4
> diff -u -r1.4 posix_fadvise03.c
> --- testcases/kernel/syscalls/fadvise/posix_fadvise03.c 21 Jul 2008
> 11:07:37 -0000 1.4
> +++ testcases/kernel/syscalls/fadvise/posix_fadvise03.c 20 Aug 2008
> 03:18:43 -0000
> @@ -57,7 +57,7 @@
> void cleanup();
>
>
> -char *TCID="posix_fadvise03"; /* Test program identifier. */
> +TCID_DEFINE(posix_fadvise03); /* Test program identifier. */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
>
> char fname[] = "/bin/cat"; /* test executable to open */
> Index: testcases/kernel/syscalls/fadvise/posix_fadvise04.c
> ===================================================================
> RCS file:
> /cvsroot/ltp/ltp/testcases/kernel/syscalls/fadvise/posix_fadvise04.c,v
> retrieving revision 1.5
> diff -u -r1.5 posix_fadvise04.c
> --- testcases/kernel/syscalls/fadvise/posix_fadvise04.c 21 Jul 2008
> 11:07:37 -0000 1.5
> +++ testcases/kernel/syscalls/fadvise/posix_fadvise04.c 20 Aug 2008
> 03:18:43 -0000
> @@ -55,7 +55,7 @@
> void cleanup();
>
>
> -char *TCID="posix_fadvise04"; /* Test program identifier. */
> +TCID_DEFINE(posix_fadvise04); /* Test program identifier. */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
>
> #define GIVEN_IN_SETUP 42 /* No mean. Just used as padding.
> Index: testcases/kernel/syscalls/ftruncate/Makefile
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ftruncate/Makefile,v
> retrieving revision 1.10
> diff -u -r1.10 Makefile
> --- testcases/kernel/syscalls/ftruncate/Makefile 5 Aug 2008 02:59:12
> -0000 1.10
> +++ testcases/kernel/syscalls/ftruncate/Makefile 20 Aug 2008 03:18:44
> -0000
> @@ -19,13 +19,14 @@
> CFLAGS += -I../../../../include -Wall
> LDLIBS += -L../../../../lib -lltp
>
> -SRCS = $(wildcard ftruncate[0-9][0-9].c)
> +SRCS = $(wildcard *.c)
> TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%_64,$(SRCS))
>
>
> -%_64.c: %.c
> - echo "#define _FILE_OFFSET_BITS 64" > $@
> - cat $< >> $@
> +%_64.o: %.c
> + $(COMPILE.c) $(OUTPUT_OPTION) $<
> +%_64: CFLAGS += -DTST_USE_NEWER64_SYSCALL=1 -D_FILE_OFFSET_BITS=64
> +
>
> all: $(TARGETS)
>
> Index: testcases/kernel/syscalls/ftruncate/ftruncate01.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ftruncate/ftruncate01.c,v
> retrieving revision 1.2
> diff -u -r1.2 ftruncate01.c
> --- testcases/kernel/syscalls/ftruncate/ftruncate01.c 26 Mar 2003 18:23:35
> -0000 1.2
> +++ testcases/kernel/syscalls/ftruncate/ftruncate01.c 20 Aug 2008 03:18:44
> -0000
> @@ -82,7 +82,7 @@
> #define FILE_SIZE 1024 /* test file size */
> #define TRUNC_LEN 256 /* truncation length */
>
> -char *TCID="ftruncate01"; /* Test program identifier. */
> +TCID_DEFINE(ftruncate01); /* Test program identifier. */
> int TST_TOTAL=1; /* Total number of test conditions */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
> int fildes; /* file descriptor for test file */
> Index: testcases/kernel/syscalls/ftruncate/ftruncate02.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ftruncate/ftruncate02.c,v
> retrieving revision 1.3
> diff -u -r1.3 ftruncate02.c
> --- testcases/kernel/syscalls/ftruncate/ftruncate02.c 26 Mar 2003 18:23:35
> -0000 1.3
> +++ testcases/kernel/syscalls/ftruncate/ftruncate02.c 20 Aug 2008 03:18:44
> -0000
> @@ -84,7 +84,7 @@
> #define TRUNC_LEN1 256 /* truncation length */
> #define TRUNC_LEN2 512 /* truncation length */
>
> -char *TCID="ftruncate02"; /* Test program identifier. */
> +TCID_DEFINE(ftruncate02); /* Test program identifier. */
> int TST_TOTAL=1; /* Total number of test conditions */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
> int fd; /* file descriptor of testfile */
> Index: testcases/kernel/syscalls/ftruncate/ftruncate03.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ftruncate/ftruncate03.c,v
> retrieving revision 1.10
> diff -u -r1.10 ftruncate03.c
> --- testcases/kernel/syscalls/ftruncate/ftruncate03.c 19 Feb 2006 09:10:28
> -0000 1.10
> +++ testcases/kernel/syscalls/ftruncate/ftruncate03.c 20 Aug 2008 03:18:44
> -0000
> @@ -55,7 +55,7 @@
>
> #define TESTFILE "ftruncate03_tst_file"
>
> -char *TCID="ftruncate03";
> +TCID_DEFINE(ftruncate03);
> int TST_TOTAL=3;
>
> int main()
> Index: testcases/kernel/syscalls/ftruncate/ftruncate04.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ftruncate/ftruncate04.c,v
> retrieving revision 1.10
> diff -u -r1.10 ftruncate04.c
> --- testcases/kernel/syscalls/ftruncate/ftruncate04.c 20 May 2008 10:11:01
> -0000 1.10
> +++ testcases/kernel/syscalls/ftruncate/ftruncate04.c 20 Aug 2008 03:18:44
> -0000
> @@ -72,7 +72,7 @@
>
> char progname[] = "ftruncate04()";
>
> -char *TCID = "ftruncate04";
> +TCID_DEFINE(ftruncate04);
> int TST_TOTAL = 1;
> extern int Tst_count;
>
> Index: testcases/kernel/syscalls/sendfile/Makefile
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/Makefile,v
> retrieving revision 1.11
> diff -u -r1.11 Makefile
> --- testcases/kernel/syscalls/sendfile/Makefile 28 Nov 2007 11:20:04
> -0000 1.11
> +++ testcases/kernel/syscalls/sendfile/Makefile 20 Aug 2008 03:18:49
> -0000
> @@ -19,13 +19,16 @@
> CFLAGS += -I../../../../include -Wall
> LDLIBS += -L../../../../lib -lltp
>
> -SRCS = $(wildcard sendfile[0-9][0-9].c)
> +SRCS = $(wildcard *.c)
> TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%_64,$(SRCS))
>
> -%_64.c: %.c Makefile
> - echo "#define _FILE_OFFSET_BITS 64" > $@
> - echo "#define OFF_T __off64_t" >> $@
> - cat $< >> $@
> +%_64.o: %.c
> + $(COMPILE.c) $(OUTPUT_OPTION) $<
> +%_64: CFLAGS += \
> + -DTST_USE_NEWER64_SYSCALL=1 \
> + -D_FILE_OFFSET_BITS=64 \
> + -DOFF_T=__off64_t
> +
>
> all: $(TARGETS)
>
> Index: testcases/kernel/syscalls/sendfile/sendfile02.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/sendfile02.c,v
> retrieving revision 1.13
> diff -u -r1.13 sendfile02.c
> --- testcases/kernel/syscalls/sendfile/sendfile02.c 25 Feb 2008 11:33:27
> -0000 1.13
> +++ testcases/kernel/syscalls/sendfile/sendfile02.c 20 Aug 2008 03:18:49
> -0000
> @@ -64,7 +64,7 @@
> #endif /* Not def: OFF_T */
>
>
> -char *TCID = "sendfile02";
> +TCID_DEFINE(sendfile02);
> int TST_TOTAL = 4;
> extern int Tst_count;
>
> Index: testcases/kernel/syscalls/sendfile/sendfile03.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/sendfile03.c,v
> retrieving revision 1.10
> diff -u -r1.10 sendfile03.c
> --- testcases/kernel/syscalls/sendfile/sendfile03.c 21 Jan 2008 11:16:17
> -0000 1.10
> +++ testcases/kernel/syscalls/sendfile/sendfile03.c 20 Aug 2008 03:18:49
> -0000
> @@ -60,7 +60,7 @@
> #endif /* Not def: OFF_T */
>
>
> -char *TCID = "sendfile03";
> +TCID_DEFINE(sendfile03);
> int TST_TOTAL = 3;
> extern int Tst_count;
>
> Index: testcases/kernel/syscalls/sendfile/sendfile04.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/sendfile04.c,v
> retrieving revision 1.3
> diff -u -r1.3 sendfile04.c
> --- testcases/kernel/syscalls/sendfile/sendfile04.c 25 Feb 2008 11:33:27
> -0000 1.3
> +++ testcases/kernel/syscalls/sendfile/sendfile04.c 20 Aug 2008 03:18:49
> -0000
> @@ -64,7 +64,7 @@
> #endif /* Not def: OFF_T */
>
>
> -char *TCID = "sendfile04";
> +TCID_DEFINE(sendfile04);
> extern int Tst_count;
>
> char in_file[100];
> Index: testcases/kernel/syscalls/sendfile/sendfile05.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/sendfile05.c,v
> retrieving revision 1.1
> diff -u -r1.1 sendfile05.c
> --- testcases/kernel/syscalls/sendfile/sendfile05.c 5 Dec 2007 08:44:26
> -0000 1.1
> +++ testcases/kernel/syscalls/sendfile/sendfile05.c 20 Aug 2008 03:18:49
> -0000
> @@ -59,7 +59,7 @@
> #endif /* Not def: OFF_T */
>
>
> -char *TCID = "sendfile05";
> +TCID_DEFINE(sendfile05);
> extern int Tst_count;
>
> char in_file[100];
> Index: testcases/kernel/syscalls/sendfile/sendfile06.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/sendfile06.c,v
> retrieving revision 1.1
> diff -u -r1.1 sendfile06.c
> --- testcases/kernel/syscalls/sendfile/sendfile06.c 5 Dec 2007 08:44:26
> -0000 1.1
> +++ testcases/kernel/syscalls/sendfile/sendfile06.c 20 Aug 2008 03:18:49
> -0000
> @@ -60,7 +60,7 @@
> #endif /* Not def: OFF_T */
>
>
> -char *TCID = "sendfile06";
> +TCID_DEFINE(sendfile06);
> extern int Tst_count;
>
> char in_file[100];
> Index: testcases/kernel/syscalls/sendfile/sendfile07.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sendfile/sendfile07.c,v
> retrieving revision 1.1
> diff -u -r1.1 sendfile07.c
> --- testcases/kernel/syscalls/sendfile/sendfile07.c 5 Dec 2007 08:44:26
> -0000 1.1
> +++ testcases/kernel/syscalls/sendfile/sendfile07.c 20 Aug 2008 03:18:49
> -0000
> @@ -62,7 +62,7 @@
> #endif /* Not def: OFF_T */
>
>
> -char *TCID = "sendfile07";
> +TCID_DEFINE(sendfile07);
> int TST_TOTAL = 1;
> extern int Tst_count;
>
> Index: testcases/kernel/syscalls/setgid/Makefile
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/setgid/Makefile,v
> retrieving revision 1.9
> diff -u -r1.9 Makefile
> --- testcases/kernel/syscalls/setgid/Makefile 19 Aug 2008 07:00:50 -0000
> 1.9
> +++ testcases/kernel/syscalls/setgid/Makefile 20 Aug 2008 03:18:49 -0000
> @@ -19,14 +19,13 @@
> CFLAGS += -I../../../../include -Wall
> LDLIBS += -L../../../../lib -lltp
>
> -SRCS = $(wildcard *[0-9][0-9].c)
> +SRCS = $(wildcard *.c)
> TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%_16,$(SRCS))
>
> -
> %.c: compat_16.h
> -%_16.c: %.c
> - echo "#define TST_USE_COMPAT16_SYSCALL 1" > $@
> - cat $< >> $@
> +%_16.o: %.c
> + $(COMPILE.c) $(OUTPUT_OPTION) $<
> +%_16: CFLAGS += -DTST_USE_COMPAT16_SYSCALL=1
>
>
> all: $(TARGETS)
> Index: testcases/kernel/syscalls/setgid/setgid02.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/setgid/setgid02.c,v
> retrieving revision 1.5
> diff -u -r1.5 setgid02.c
> --- testcases/kernel/syscalls/setgid/setgid02.c 4 Aug 2008 12:06:22
> -0000 1.5
> +++ testcases/kernel/syscalls/setgid/setgid02.c 20 Aug 2008 03:18:49
> -0000
> @@ -48,7 +48,7 @@
> #include <test.h>
> #include <usctest.h>
>
> -char *TCID = "setgid02";
> +TCID_DEFINE(setgid02);
> int TST_TOTAL = 1;
> extern int Tst_count;
>
> Index: testcases/kernel/syscalls/setgid/setgid03.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/setgid/setgid03.c,v
> retrieving revision 1.4
> diff -u -r1.4 setgid03.c
> --- testcases/kernel/syscalls/setgid/setgid03.c 4 Aug 2008 12:06:22
> -0000 1.4
> +++ testcases/kernel/syscalls/setgid/setgid03.c 20 Aug 2008 03:18:49
> -0000
> @@ -47,7 +47,7 @@
> #include "test.h"
> #include "usctest.h"
>
> -char *TCID = "setgid03";
> +TCID_DEFINE(setgid03);
> int TST_TOTAL = 1;
> extern int Tst_count;
>
> Index: testcases/kernel/syscalls/truncate/Makefile
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/truncate/Makefile,v
> retrieving revision 1.8
> diff -u -r1.8 Makefile
> --- testcases/kernel/syscalls/truncate/Makefile 5 Aug 2008 03:00:19
> -0000 1.8
> +++ testcases/kernel/syscalls/truncate/Makefile 20 Aug 2008 03:18:52
> -0000
> @@ -19,13 +19,16 @@
> CFLAGS += -I../../../../include -Wall
> LDLIBS += -L../../../../lib -lltp
>
> -SRCS = $(wildcard truncate[0-9][0-9]*.c)
> +SRCS = $(wildcard *.c)
> TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%_64,$(SRCS))
>
>
> -%_64.c: %.c
> - echo "#define _FILE_OFFSET_BITS 64" > $@
> - cat $< >> $@
> +%_64.o: %.c
> + $(COMPILE.c) $(OUTPUT_OPTION) $<
> +%_64: CFLAGS += \
> + -DTST_USE_NEWER64_SYSCALL=1 \
> + -D_FILE_OFFSET_BITS=64
> +
>
> all: $(TARGETS)
>
> Index: testcases/kernel/syscalls/truncate/truncate01.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/truncate/truncate01.c,v
> retrieving revision 1.2
> diff -u -r1.2 truncate01.c
> --- testcases/kernel/syscalls/truncate/truncate01.c 27 Mar 2003 22:27:13
> -0000 1.2
> +++ testcases/kernel/syscalls/truncate/truncate01.c 20 Aug 2008 03:18:52
> -0000
> @@ -84,7 +84,7 @@
> #define FILE_SIZE 1024 /* test file size */
> #define TRUNC_LEN 256 /* truncation length */
>
> -char *TCID="truncate01"; /* Test program identifier. */
> +TCID_DEFINE(truncate01); /* Test program identifier. */
> int TST_TOTAL=1; /* Total number of test conditions */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
> int exp_enos[]={0};
> Index: testcases/kernel/syscalls/truncate/truncate02.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/truncate/truncate02.c,v
> retrieving revision 1.2
> diff -u -r1.2 truncate02.c
> --- testcases/kernel/syscalls/truncate/truncate02.c 27 Mar 2003 22:27:13
> -0000 1.2
> +++ testcases/kernel/syscalls/truncate/truncate02.c 20 Aug 2008 03:18:52
> -0000
> @@ -86,7 +86,7 @@
> #define TRUNC_LEN1 256 /* truncation length */
> #define TRUNC_LEN2 512 /* truncation length */
>
> -char *TCID="truncate02"; /* Test program identifier. */
> +TCID_DEFINE(truncate02); /* Test program identifier. */
> int TST_TOTAL=1; /* Total number of test conditions */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
> int fd; /* file descriptor of testfile */
> Index: testcases/kernel/syscalls/truncate/truncate03.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/truncate/truncate03.c,v
> retrieving revision 1.8
> diff -u -r1.8 truncate03.c
> --- testcases/kernel/syscalls/truncate/truncate03.c 9 Feb 2007 20:48:23
> -0000 1.8
> +++ testcases/kernel/syscalls/truncate/truncate03.c 20 Aug 2008 03:18:52
> -0000
> @@ -106,7 +106,7 @@
> int setup2(); /* setup function to test chmod for
> ENOTDIR */
> int longpath_setup(); /* setup function to test chmod for ENAMETOOLONG */
>
> -char *TCID="truncate03"; /* Test program identifier. */
> +TCID_DEFINE(truncate03); /* Test program identifier. */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
> int exp_enos[]={EACCES, ENOTDIR, EFAULT, ENAMETOOLONG, ENOENT, 0};
>
> Index: testcases/kernel/syscalls/truncate/truncate04.c
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/truncate/truncate04.c,v
> retrieving revision 1.2
> diff -u -r1.2 truncate04.c
> --- testcases/kernel/syscalls/truncate/truncate04.c 27 Mar 2003 22:27:13
> -0000 1.2
> +++ testcases/kernel/syscalls/truncate/truncate04.c 20 Aug 2008 03:18:52
> -0000
> @@ -87,7 +87,7 @@
> char nobody_uid[] = "nobody";
> struct passwd *ltpuser;
>
> -char *TCID="truncate04"; /* Test program identifier. */
> +TCID_DEFINE(truncate04); /* Test program identifier. */
> int TST_TOTAL=1; /* Total number of test conditions */
> extern int Tst_count; /* Test Case counter for tst_* routines
> */
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list