Athanasius
00071ba7e9
scripts/testing: Remove per-scenario scripts
...
The required functionality is now all in `test-sender.py`.
2022-01-11 16:43:30 +00:00
Athanasius
ad8fc57df3
scripts/test-sender: Support --gzip=bad
2022-01-11 16:41:25 +00:00
Athanasius
7537a300c0
scripts/test-sender: Support for valid gzip compression
2022-01-11 16:31:05 +00:00
Athanasius
fb83aae240
scripts/test-sender: Support for requesting good or bad form encoding
2022-01-11 16:27:20 +00:00
Athanasius
ecd3afbbbc
scripts/test-sender.py: Allow 'beta' and 'dev' --url aliases
...
Also explicitly states the URL and input file it uses.
2022-01-11 16:12:21 +00:00
Athanasius
02b2ea6e18
scripts/test-sender.py: Allow for changing target URL
2022-01-11 16:08:59 +00:00
Athanasius
6799a7fae9
scripts/testing: Target dev:4432, not beta:4431
...
In the long-term these all need to support a CL arg to select the
target.
2022-01-11 15:36:53 +00:00
Athanasius
a1d347aec5
scripts/testing: Add general "uses gzip" script
2022-01-11 15:35:24 +00:00
Athanasius
759b14c844
scripts/testing: Add "valid JSON looks like form-encoded" file
...
Ref: https://github.com/EDCD/EDDN/issues/165
2022-01-11 14:40:16 +00:00
Athanasius
495e27861e
scripts: Make it obvious that test-bad-gzip.py doesn't work
2022-01-10 15:53:44 +00:00
Athanasius
a8098f45b9
Move eddn-report-log-errors into scripts/
2022-01-10 09:42:17 +00:00
Athanasius
ddb9480ee6
Gateway/testscripts: Add a small README
2022-01-09 16:27:08 +00:00
Athanasius
2a8eb8d021
Gateway: Add test scripts and supporting files
...
These are what I was using on my home server to test the prior code
changes to how the Gateway code reports errors.
Ultimately these should become a part of proper tests, but for now
they're at least in the repository for anyone to utilise.
2022-01-09 16:21:23 +00:00
Athanasius
080136127e
scripts/eddn-restore-db-data: Handles if file is .gz or not
2021-07-14 09:45:46 +00:00
Athanasius
88e199e94e
scripts/mysql dumps: Add data dump script
2021-07-10 12:26:44 +00:00
Athanasius
f02efdd98b
scripts/eddn-dump-db-schema: For dumping the current DB schema
2021-07-10 11:22:00 +00:00
Athanasius
0e3ef098ab
systemd/start-eddn-service: Now replacing scripts/run-from-source.sh
...
* Removed scripts/run-from-source.sh as it's now redundant.
* Added `--background` optional argument, only for when using
`--from-source` to start-eddn-service. The script will leave the
service in the foreground, no output redirection, without it.
It tells you the PID of the process when it's backgrounded, as well as
placing it in the appropriate .pid file.
2021-07-06 11:17:52 +00:00
Athanasius
3116927b12
run-from-source: Moved into new ./scripts/ directory
2021-07-06 10:04:55 +00:00