Fixed a small logic error; Updated Rust version to build against in the Docker build script
This commit is contained in:
parent
a315e2662c
commit
33e540add4
2
bin/docker-build.sh
Normal file → Executable file
2
bin/docker-build.sh
Normal file → Executable file
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/hardware-tests -w /usr/src/hardware-tests rust:1.59 cargo build --release
|
docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/hardware-tests -w /usr/src/hardware-tests rust:1.62 cargo build
|
||||||
|
@ -57,7 +57,7 @@ fn ping_host(host: &str) {
|
|||||||
|
|
||||||
// timed file copy test to guage bandwidth speeds
|
// timed file copy test to guage bandwidth speeds
|
||||||
fn bandwidth_test(download: &str, output: &str) {
|
fn bandwidth_test(download: &str, output: &str) {
|
||||||
println!("Testing network bandwidth by downloading {}", download, output);
|
println!("Testing network bandwidth by downloading {}.", download);
|
||||||
|
|
||||||
// get start time so we can track how long it takes to complete
|
// get start time so we can track how long it takes to complete
|
||||||
let start_time = Utc::now();
|
let start_time = Utc::now();
|
||||||
|
Loading…
Reference in New Issue
Block a user