/external/ltp/testcases/kernel/syscalls/sbrk/ |
sbrk03.c | 57 tst_res(TINFO, "initial brk: %d", brk((void *)0x10000000)); 60 tst_res(TINFO, "sbrk increm: %p", sbrk(0x10000000)); 64 tst_res(TINFO, "sbrk increm: %p", sbrk(0x70000000)); 68 tst_res(TFAIL, "Bug! sbrk: %p", ret2); 72 tst_res(TPASS, "sbrk verify: %p", ret2); 74 tst_res(TCONF, "Only works in 32bit on s390 series system");
|
/external/ltp/lib/newlib_tests/ |
test05.c | 27 tst_res(TINFO, "setup() executed by pid %i", getpid()); 32 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); 41 tst_res(TPASS, "Child (%i) reports", getpid()); 44 tst_res(TPASS, "Parent (%i) reports", getpid());
|
test17.c | 50 tst_res(TPASS, TEXT); 51 tst_res(TPASS | TERRNO, TEXT);
|
test10.c | 26 tst_res(TPASS, "Not reached");
|
test11.c | 28 tst_res(TPASS, "Not reached");
|
test12.c | 25 tst_res(TPASS, "Passed!");
|
test04.c | 29 tst_res(TPASS, "PASSED message"); 39 tst_res(TINFO, "setup() executed by pid %i", getpid()); 44 tst_res(TINFO, "cleanup() executed by pid %i", getpid());
|
test06.c | 27 tst_res(TINFO, "setup() executed by pid %i", getpid()); 32 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); 44 tst_res(TPASS, "Parent pid %i", getpid());
|
test07.c | 27 tst_res(TINFO, "setup() executed by pid %i", getpid()); 32 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); 41 tst_res(TPASS, "Child (%i)", getpid());
|
/external/ltp/testcases/commands/insmod/ |
insmod01.sh | 31 tst_res TINFO "running rmmod ltp_insmod01" 34 tst_res TWARN "failed to rmmod ltp_insmod01" 44 tst_res TFAIL "insmod failed" 51 tst_res TFAIL "ltp_insmod01 not found in /proc/modules" 57 tst_res TPASS "insmod passed"
|
/external/ltp/testcases/kernel/syscalls/add_key/ |
add_key01.c | 36 tst_res(TFAIL | TTERRNO, "add_key call failed"); 38 tst_res(TPASS, "add_key call succeeded");
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
keyctl08.c | 34 tst_res(TPASS, "Denied access to .builtin_trusted_keys"); 36 tst_res(TFAIL, "Allowed access to .builtin_trusted_keys");
|
keyctl01.c | 39 tst_res(TPASS, "KEYCTL_GET_KEYRING_ID succeeded"); 41 tst_res(TFAIL | TTERRNO, "KEYCTL_GET_KEYRING_ID failed"); 51 tst_res(TFAIL, "KEYCTL_REVOKE succeeded unexpectedly"); 56 tst_res(TFAIL | TTERRNO, "KEYCTL_REVOKE failed unexpectedly"); 60 tst_res(TPASS | TTERRNO, "KEYCTL_REVOKE failed as expected");
|
keyctl05.c | 106 tst_res(TCONF, "kernel doesn't support key type '%s'", 111 tst_res(TCONF, "kernel is missing x509 cert parser " 116 tst_res(TCONF, "kernel is missing crypto algorithms " 121 tst_res(TBROK | TTERRNO, "unexpected error adding '%s' key", 133 tst_res(TBROK | TTERRNO, 138 tst_res(TINFO, "Try to update the '%s' key...", type); 141 tst_res(TBROK, 146 tst_res(TBROK | TTERRNO, 150 tst_res(TPASS, "updating '%s' key expectedly failed with EOPNOTSUPP", 169 tst_res(TBROK | TTERRNO, "failed to add 'user' key") [all...] |
/external/ltp/testcases/commands/ldd/ |
ldd01 | 48 tst_res TPASS "Found lddfile*.obj.so" 50 tst_res TFAIL "Haven't found lddfile*.obj.so" 58 tst_res TPASS "Found GLIBC" 60 tst_res TFAIL "Haven't found GLIBC"
|
/external/ltp/testcases/commands/lsmod/ |
lsmod01.sh | 27 tst_res TFAIL "Failed to parse the output from lsmod" 33 tst_res TFAIL "Failed to parse /proc/modules" 38 tst_res TFAIL "lsmod output different from /proc/modules." 47 tst_res TPASS "'lsmod' passed."
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe03.c | 35 tst_res(TFAIL | TTERRNO, "pipe() failed unexpectedly"); 41 tst_res(TPASS | TTERRNO, "expected failure writing " 44 tst_res(TFAIL | TTERRNO, "unexpected failure writing " 50 tst_res(TPASS | TTERRNO, "expected failure reading " 53 tst_res(TFAIL | TTERRNO, "unexpected failure reading "
|
/external/ltp/testcases/kernel/syscalls/times/ |
times03.c | 84 tst_res(TFAIL | TERRNO, "times failed"); 100 tst_res(TFAIL, "buf1.tms_utime = %li", buf1.tms_utime); 102 tst_res(TPASS, "buf1.tms_utime = 0"); 105 tst_res(TFAIL, "buf1.tms_stime = %li", buf1.tms_stime); 107 tst_res(TPASS, "buf1.tms_stime = 0"); 116 tst_res(TFAIL, "buf2.tms_utime = 0"); 118 tst_res(TPASS, "buf2.tms_utime = %li", buf2.tms_utime); 121 tst_res(TFAIL, "buf1.tms_utime (%li) >= buf2.tms_utime (%li)", 124 tst_res(TPASS, "buf1.tms_utime (%li) < buf2.tms_utime (%li)", 129 tst_res(TFAIL, "buf2.tms_stime = 0") [all...] |
/external/ltp/testcases/cve/ |
cve-2017-5669.c | 62 tst_res(TINFO, "Attempting to attach shared memory to null page"); 67 tst_res(TPASS, "shmat returned EINVAL"); 74 tst_res(TINFO, "Mapped shared memory to %p", shm_addr); 77 tst_res(TFAIL, 80 tst_res(TPASS, 83 tst_res(TINFO,
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat01.c | 61 tst_res(TFAIL, "creat() failed to truncate file to 0 bytes"); 63 tst_res(TPASS, "creat() truncated file to 0 bytes"); 66 tst_res(TFAIL | TERRNO, "write was unsuccessful"); 68 tst_res(TPASS, "file was created and written to successfully"); 71 tst_res(TFAIL, "read succeeded unexpectedly"); 73 tst_res(TPASS | TERRNO, "read failed expectedly");
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
ioctl05.c | 46 tst_res(TPASS, "BLKGETSIZE returned %lu, BLKGETSIZE64 %llu", 49 tst_res(TFAIL, 55 tst_res(TFAIL | TERRNO, 58 tst_res(TPASS, "Could lseek to the end of the device"); 64 tst_res(TPASS, 67 tst_res(TFAIL | TERRNO,
|
/external/ltp/testcases/kernel/syscalls/syscall/ |
syscall01.c | 41 tst_res(TPASS, "getpid() == syscall(SYS_getpid)"); 43 tst_res(TFAIL, "getpid() = %i, syscall(SYS_getpid) = %i", 56 tst_res(TPASS, "getuid() == syscall(SYS_getuid)"); 58 tst_res(TFAIL, "getuid() = %i, syscall(SYS_getuid) = %i", 71 tst_res(TPASS, "getgid() == syscall(SYS_getgid)"); 73 tst_res(TFAIL, "getgid() = %i, syscall(SYS_getgid) = %i",
|
/external/ltp/testcases/commands/eject/ |
eject-tests.sh | 63 tst_res TPASS "Eject listed default device" 65 tst_res TFAIL "Eject failed to list default device" 77 tst_res TPASS "Drive successfully ejected" 79 tst_res TFAIL "Eject failed" 100 tst_res TCONF "Failed to mount $CD_DRIVE, no disk in drive?" 105 tst_res TINFO "$CD_DRIVE mounted sucessfully" 119 tst_res TFAIL "$CD_DRIVE is stil moutned" 121 tst_res TPASS "$CD_DRIVE umounted succesfully" 142 tst_res TPASS "$CD_DRIVE was auto-ejected" 144 tst_res TFAIL "$CD_DRIVE was not auto-ejected [all...] |
/external/ltp/testcases/kernel/syscalls/nice/ |
nice04.c | 36 tst_res(TFAIL, "nice(%i) succeded unexpectedly (returned %li)", 42 tst_res(TFAIL | TTERRNO, "nice(%i) should fail with EPERM", 47 tst_res(TPASS, "nice(%i) failed with EPERM", NICEINC);
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
request_key01.c | 42 tst_res(TFAIL | TTERRNO, "request_key() failed"); 47 tst_res(TFAIL, "serial number mismatched"); 49 tst_res(TPASS, "request_key() succeed");
|