cppcheck/tools/test/start_donate_cpu_client_test_local.sh
Sebastian 4ac1500c9f
Donate CPU: Add scripts under /test for testing (#1624)
Indirectly the scripts (at first the server test script) also document what needs to be done to setup a (local) server.
The productive client script can be used by everyone who wants to support daca@home, not only for testing. But i still think it is good to have it under /test to not lose too much clarity / lucidity in the /tools directory.
2019-01-26 11:40:02 +01:00

10 lines
141 B
Bash

#!/bin/sh
cppcheck_tools_path=..
while :
do
python "${cppcheck_tools_path}/donate-cpu.py" --test --bandwidth-limit=2m
sleep 2
done