Browse Subversion Repository
Contents of /branches/ttcomtester/tests/#39452.ttl
Parent Directory
| Revision Log
Revision 10521 -
( show annotations)
( download)
Fri Jan 20 16:03:38 2023 UTC
(13 months, 2 weeks ago)
by zmatsuo
File size: 535 byte(s)
add communication test tool
| 1 |
filetruncate '#39452-1:.txt' |
| 2 |
messagebox result 'invalid file name' |
| 3 |
|
| 4 |
filetruncate '#39452-1.txt' 'string' |
| 5 |
messagebox result 'invalid file size' |
| 6 |
|
| 7 |
; file is not exist |
| 8 |
filetruncate '#39452-1.txt' 10 |
| 9 |
messagebox result 'success' |
| 10 |
|
| 11 |
; invalid file path |
| 12 |
filetruncate 'aa:\#39452-1.txt' 10 |
| 13 |
messagebox result 'invalid file path' |
| 14 |
|
| 15 |
; file is exist but cannot open with write mode |
| 16 |
filecreate fp '#39452-1.txt' |
| 17 |
filetruncate '#39452-1.txt' 10 |
| 18 |
messagebox result 'cannot open with write mode' |
| 19 |
fileclose fp |
| 20 |
|
| 21 |
filedelete '#39452-1.txt' |
|