| 179 | } |
| 180 | |
| 181 | void TestGetExecutableFilename() |
| 182 | { |
| 183 | if (-1 == access("/bin/sh", F_OK)) |
| 184 | skip("/bin/sh not found/accessible"); |
| 185 | |
| 186 | TSTRING filename = _T("sh"); |
| 187 | TSTRING fullpath = _T("/bin/"); |
| 188 | TEST(iFSServices::GetInstance()->GetExecutableFilename(fullpath, filename)); |
| 189 | |
| 190 | filename = _T("/bin/sh"); |
| 191 | TEST(iFSServices::GetInstance()->GetExecutableFilename(fullpath, filename)); |
| 192 | } |
| 193 | |
| 194 | void TestRename() |
| 195 | { |
nothing calls this directly
no test coverage detected