| 347 | |
| 348 | |
| 349 | void FetcherCacheTest::setupCommandFileAsset() |
| 350 | { |
| 351 | commandPath = path::join(assetsDirectory, COMMAND_NAME); |
| 352 | ASSERT_SOME(os::write(commandPath, COMMAND_SCRIPT)); |
| 353 | |
| 354 | // Make the command file read-only, so we can discern the URI |
| 355 | // executable flag. |
| 356 | ASSERT_SOME(os::chmod(commandPath, S_IRUSR | S_IRGRP | S_IROTH)); |
| 357 | } |
| 358 | |
| 359 | |
| 360 | void FetcherCacheTest::setupArchiveAsset() |