mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
ZT_NC_NWID patch + (WIP) test script modifications
This commit is contained in:
parent
2196d982c3
commit
d9b12be697
28 changed files with 1148 additions and 57 deletions
|
@ -35,11 +35,12 @@ echo $virtip4 > "$address_file"
|
|||
export ZT_NC_NWID=$dev
|
||||
|
||||
# --- Test section ---
|
||||
nginx_html_path=/usr/share/nginx/html/
|
||||
# Generate large random file for transfer test, share md5sum for monitor container to check
|
||||
echo '*** Generating ' "$bigfile_size" ' file'
|
||||
dd if=/dev/urandom of=/var/www/html/"$bigfile_name" bs="$bigfile_size" count=1
|
||||
dd if=/dev/urandom of="$nginx_html_path$bigfile_name" bs="$bigfile_size" count=1
|
||||
#md5sum /var/www/html/"$bigfile_name" >> "$tx_md5sumfile"
|
||||
md5sum < /var/www/html/"$bigfile_name" >> "$tx_md5sumfile"
|
||||
md5sum < "$nginx_html_path$bigfile_name" >> "$tx_md5sumfile"
|
||||
echo '*** Wrote MD5 sum to ' "$tx_md5sumfile"
|
||||
|
||||
echo '*** Starting application...'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue