diff options
| -rw-r--r-- | README.md | 48 | 
1 files changed, 14 insertions, 34 deletions
| @@ -13,9 +13,9 @@ will be maintained. Currently the shell scripts and Python scripts are | |||
| 13 | actually being used I think. Evilham asked me to write this, after I | 13 | actually being used I think. Evilham asked me to write this, after I | 
| 14 | badgered him about his Python scripts. | 14 | badgered him about his Python scripts. | 
| 15 | 15 | ||
| 16 | The source code is at [https://sledjhamr.org/cgit/mirror-checker-lua/] | 16 | The source code is at [https://sledjhamr.org/cgit/mirror-checker-lua/](https://sledjhamr.org/cgit/mirror-checker-lua/) | 
| 17 | 17 | ||
| 18 | The issue tracker is at [https://sledjhamr.org/mantisbt/project_page.php?project_id=13] | 18 | The issue tracker is at [https://sledjhamr.org/mantisbt/project_page.php?project_id=13](https://sledjhamr.org/mantisbt/project_page.php?project_id=13) | 
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | Installation. | 21 | Installation. | 
| @@ -51,65 +51,45 @@ the easy to read emails (once I write that bit). | |||
| 51 | Note that unlike typical commands, you can't run single character options | 51 | Note that unlike typical commands, you can't run single character options | 
| 52 | together, so this is wrong - | 52 | together, so this is wrong - | 
| 53 | 53 | ||
| 54 | ```Shell Session | 54 | $ ./mirror-checker.lua -vvv | 
| 55 | $ ./mirror-checker.lua -vvv | ||
| 56 | ``` | ||
| 57 | 55 | ||
| 58 | Instead do this - | 56 | Instead do this - | 
| 59 | 57 | ||
| 60 | ```Shell Session | 58 | $ ./mirror-checker.lua -v -v -v | 
| 61 | $ ./mirror-checker.lua -v -v -v | ||
| 62 | ``` | ||
| 63 | 59 | ||
| 64 | Just run the script to do all of the tests - | 60 | Just run the script to do all of the tests - | 
| 65 | 61 | ||
| 66 | ```Shell Session | 62 | $ ./mirror-checker.lua | 
| 67 | $ ./mirror-checker.lua | ||
| 68 | ``` | ||
| 69 | 63 | ||
| 70 | Which will print any errors. If you don't want to see errors - | 64 | Which will print any errors. If you don't want to see errors - | 
| 71 | 65 | ||
| 72 | ```Shell Session | 66 | $ ./mirror-checker.lua -q | 
| 73 | $ ./mirror-checker.lua -q | ||
| 74 | ``` | ||
| 75 | 67 | ||
| 76 | If you want to see warnings to (as usual, the more -v options, the more | 68 | If you want to see warnings to (as usual, the more -v options, the more | 
| 77 | details) - | 69 | details) - | 
| 78 | 70 | ||
| 79 | ```Shell Session | 71 | $ ./mirror-checker.lua -v | 
| 80 | $ ./mirror-checker.lua -v | ||
| 81 | ``` | ||
| 82 | 72 | ||
| 83 | Or use the usual options for the help and version number - | 73 | Or use the usual options for the help and version number - | 
| 84 | 74 | ||
| 85 | ```Shell Session | 75 | $ ./mirror-checker.lua -h | 
| 86 | $ ./mirror-checker.lua -h | 76 | $ ./mirror-checker.lua --help | 
| 87 | $ ./mirror-checker.lua --help | 77 | $ ./mirror-checker.lua --version | 
| 88 | $ ./mirror-checker.lua --version | ||
| 89 | ``` | ||
| 90 | 78 | ||
| 91 | To run the tests on a specific mirror, for example pkgmaster.devuan.org - | 79 | To run the tests on a specific mirror, for example pkgmaster.devuan.org - | 
| 92 | 80 | ||
| 93 | ```Shell Session | 81 | $ ./mirror-checker.lua pkgmaster.devuan.org | 
| 94 | $ ./mirror-checker.lua pkgmaster.devuan.org | ||
| 95 | ``` | ||
| 96 | 82 | ||
| 97 | You can use the --tests option to tune which tests are run, for example | 83 | You can use the --tests option to tune which tests are run, for example | 
| 98 | to stop IPv6 tests, coz you don't have IPv6 - | 84 | to stop IPv6 tests, coz you don't have IPv6 - | 
| 99 | 85 | ||
| 100 | ```Shell Session | 86 | $ ./mirror-checker.lua --tests=-IPv6 | 
| 101 | $ ./mirror-checker.lua --tests=-IPv6 | ||
| 102 | ``` | ||
| 103 | 87 | ||
| 104 | To do the same, but not run the HTTPS tests either - | 88 | To do the same, but not run the HTTPS tests either - | 
| 105 | 89 | ||
| 106 | ```Shell Session | 90 | $ ./mirror-checker.lua --tests=-IPv6,-https | 
| 107 | $ ./mirror-checker.lua --tests=-IPv6,-https | ||
| 108 | ``` | ||
| 109 | 91 | ||
| 110 | To only run the http integrity tests, only on IPv6 - | 92 | To only run the http integrity tests, only on IPv6 - | 
| 111 | 93 | ||
| 112 | ```Shell Session | 94 | $ ./mirror-checker.lua --tests=http,Integrity,IPv6 | 
| 113 | $ ./mirror-checker.lua --tests=http,Integrity,IPv6 | ||
| 114 | ``` | ||
| 115 | 95 | ||
