Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LTP tests investigation on Qemu
- root@intel-core2-32:/usr/lib/libhugetlbfs/tests# cd /opt/ltp/testcases/bin/
- root@intel-core2-32:/opt/ltp/testcases/bin# ./io_submit01
- io_submit01 1 TPASS : expected failure - returned value = -22 : Invalid argument
- io_submit01 2 TPASS : expected failure - returned value = -22 : Invalid argument
- io_submit01 3 TFAIL : io_submit01.c:138: unexpected failure - returned value = -95 : Operation not supported, expected one of -EINVAL, -EBADF, -EFAULT
- io_submit01 4 TPASS : expected failure - returned value = -14 : Bad address
- io_submit01 5 TPASS : expected failure - returned value = -22 : Invalid argument
- io_submit01 6 TPASS : expected failure - returned value = -9 : Bad file descriptor
- io_submit01 7 TPASS : expected success - returned value = 0
- io_submit01 8 TPASS : expected success - returned value = 1
- root@intel-core2-32:/opt/ltp/testcases/bin# [ 1447.038591] kworker/dying (5) used greatest stack depth: 12352 bytes left
- root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/ltp-tmp/
- root@intel-core2-32:/opt/ltp/testcases/bin# ./io_submit01
- io_submit01 1 TPASS : expected failure - returned value = -22 : Invalid argument
- io_submit01 2 TPASS : expected failure - returned value = -22 : Invalid argument
- io_submit01 3 TFAIL : io_submit01.c:138: unexpected failure - returned value = -95 : Operation not supported, expected one of -EINVAL, -EBADF, -EFAULT
- io_submit01 4 TPASS : expected failure - returned value = -14 : Bad address
- io_submit01 5 TPASS : expected failure - returned value = -22 : Invalid argument
- io_submit01 6 TPASS : expected failure - returned value = -9 : Bad file descriptor
- io_submit01 7 TPASS : expected success - returned value = 0
- io_submit01 8 TPASS : expected success - returned value = 1
- root@intel-core2-32:/opt/ltp/testcases/bin# ./flock01
- flock01 1 TPASS : flock() succeeded with Shared Lock
- flock01 2 TPASS : flock() succeeded with Unlock
- flock01 3 TPASS : flock() succeeded with Exclusive Lock
- root@intel-core2-32:/opt/ltp/testcases/bin# ./flock04
- flock04 1 TPASS : flock() PASSED in acquiring shared lock on Share Locked file
- flock04 1 TPASS : flock() failed to acquire exclusive lock on existing share locked file as expected
- root@intel-core2-32:/opt/ltp/testcases/bin# ./linkat01
- linkat01 1 TPASS : linkat is functionality correct
- linkat01 2 TPASS : linkat succeeded as expected
- linkat01 3 TPASS : linkat is functionality correct
- linkat01 4 TPASS : linkat is functionality correct
- linkat01 5 TPASS : linkat is functionality correct
- linkat01 6 TPASS : linkat succeeded as expected
- linkat01 7 TPASS : linkat is functionality correct
- linkat01 8 TPASS : linkat failed as expected: TEST_ERRNO=ENOTDIR(20): Not a directory
- linkat01 9 TPASS : linkat failed as expected: TEST_ERRNO=ENOTDIR(20): Not a directory
- linkat01 10 TPASS : linkat succeeded as expected
- linkat01 11 TPASS : linkat is functionality correct
- linkat01 12 TPASS : linkat failed as expected: TEST_ERRNO=EBADF(9): Bad file descriptor
- linkat01 13 TPASS : linkat failed as expected: TEST_ERRNO=EBADF(9): Bad file descriptor
- linkat01 14 TPASS : linkat succeeded as expected
- linkat01 15 TPASS : linkat is functionality correct
- linkat01 16 TPASS : linkat failed as expected: TEST_ERRNO=ENOENT(2): No such file or directory
- linkat01 17 TPASS : linkat failed as expected: TEST_ERRNO=ENOENT(2): No such file or directory
- linkat01 18 TPASS : linkat succeeded as expected
- linkat01 19 TPASS : linkat is functionality correct
- linkat01 20 TPASS : linkat failed as expected: TEST_ERRNO=EXDEV(18): Invalid cross-device link
- linkat01 21 TPASS : linkat failed as expected: TEST_ERRNO=EPERM(1): Operation not permitted
- linkat01 22 TPASS : linkat failed as expected: TEST_ERRNO=EINVAL(22): Invalid argument
- root@intel-core2-32:/opt/ltp/testcases/bin# ./renameat201
- renameat201 1 TPASS : renameat2() returned the expected value: TEST_ERRNO=EEXIST(17): File exists
- renameat201 2 TPASS : renameat2() returned the expected value: TEST_ERRNO=SUCCESS(0): Success
- renameat201 3 TPASS : renameat2() returned the expected value: TEST_ERRNO=ENOENT(2): No such file or directory
- renameat201 4 TPASS : renameat2() returned the expected value: TEST_ERRNO=SUCCESS(0): Success
- renameat201 5 TPASS : renameat2() returned the expected value: TEST_ERRNO=EINVAL(22): Invalid argument
- renameat201 6 TPASS : renameat2() returned the expected value: TEST_ERRNO=EINVAL(22): Invalid argument
- root@intel-core2-32:/opt/ltp/testcases/bin# ./renameat202
- renameat202 1 TPASS : renameat2() test passed
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utime01
- utime01 1 TPASS : Functionality of utime(tmp_file, NULL) successful
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utime02
- utime02 1 TBROK : tst_tmpdir.c:263: tst_tmpdir: mkdtemp(/ltp-tmp//utisGPam6) failed: errno=EACCES(13): Permission denied
- utime02 2 TBROK : tst_tmpdir.c:263: Remaining cases broken
- root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/tmp/
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utime02
- utime02 1 TPASS : Functionality of utime(tmp_file, NULL) successful
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utime01
- utime01 1 TPASS : Functionality of utime(tmp_file, NULL) successful
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utime03
- utime03 1 TPASS : Functionality of utime(tmp_file, NULL) successful
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utime06
- utime06 0 TINFO : Found free device '/dev/loop1'
- utime06 0 TINFO : Formatting /dev/loop1 with ext2 opts='' extra opts=''
- mke2fs 1.43 (17-May-2016)
- [ 1830.305176] EXT4-fs (loop1): mounting ext2 file system using the ext4 subsystem
- [ 1830.414857] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
- utime06 1 TPASS : utime failed as expected: TEST_ERRNO=EACCES(13): Permission denied
- utime06 2 TPASS : utime failed as expected: TEST_ERRNO=ENOENT(2): No such file or directory
- utime06 3 TPASS : utime failed as expected: TEST_ERRNO=EPERM(1): Operation not permitted
- utime06 4 TPASS : utime failed as expected: TEST_ERRNO=EROFS(30): Read-only file system
- root@intel-core2-32:/opt/ltp/testcases/bin# ./utimes01
- utimes01 0 TINFO : Found free device '/dev/loop1'
- utimes01 0 TINFO : Formatting /dev/loop1 with ext2 opts='' extra opts=''
- mke2fs 1.43 (17-May-2016)
- [ 1921.444123] EXT4-fs (loop1): mounting ext2 file system using the ext4 subsystem
- [ 1921.616249] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
- [ 1921.977118] EXT4-fs (loop1): re-mounted. Opts: (null)
- utimes01 1 TPASS : utimes() worked as expected: TEST_ERRNO=SUCCESS(0): Success
- utimes01 2 TPASS : utimes() worked as expected: TEST_ERRNO=SUCCESS(0): Success
- utimes01 3 TPASS : utimes() worked as expected: TEST_ERRNO=EACCES(13): Permission denied
- utimes01 4 TPASS : utimes() worked as expected: TEST_ERRNO=ENOENT(2): No such file or directory
- utimes01 5 TPASS : utimes() worked as expected: TEST_ERRNO=EFAULT(14): Bad address
- utimes01 6 TPASS : utimes() worked as expected: TEST_ERRNO=EPERM(1): Operation not permitted
- utimes01 7 TPASS : utimes() worked as expected: TEST_ERRNO=EROFS(30): Read-only file system
- root@intel-core2-32:/opt/ltp/testcases/bin# ./open12
- open12 1 TPASS : test O_APPEND for open success
- open12 2 TPASS : test O_NOATIME for open success
- open12 3 TBROK : open12.c:226: execlp() failed
- open12 4 TBROK : open12.c:226: Remaining cases broken
- root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/ltp-tmp/
- root@intel-core2-32:/opt/ltp/testcases/bin# ./open12
- open12 0 TWARN : tst_device.c:262: Failed to create test_dev.img: errno=ENOSPC(28): No space left on device
- open12 1 TBROK : tst_device.c:295: Failed to acquire device
- open12 2 TBROK : tst_device.c:295: Remaining cases broken
- root@intel-core2-32:/opt/ltp/testcases/bin# rm -rf /ltp-tmp/.
- ./ ../
- root@intel-core2-32:/opt/ltp/testcases/bin# ./openat02
- openat02 1 TPASS : test O_APPEND for openat success
- openat02 2 TBROK : openat02.c:187: execlp() failed
- openat02 3 TBROK : openat02.c:187: Remaining cases broken
- root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/ltp-tmp/
- root@intel-core2-32:/opt/ltp/testcases/bin# ./openat02
- openat02 1 TPASS : test O_APPEND for openat success
- openat02 2 TBROK : openat02.c:187: execlp() failed
- openat02 3 TBROK : openat02.c:187: Remaining cases broken
Add Comment
Please, Sign In to add comment