Fixed a small logic error; Updated Rust version to build against in the Docker build script

This commit is contained in:
Gregory Ballantine 2022-08-05 13:48:24 -04:00
parent a315e2662c
commit 33e540add4
2 changed files with 4 additions and 4 deletions

2
bin/docker-build.sh Normal file → Executable file
View File

@ -1,3 +1,3 @@
#!/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

View File

@ -57,7 +57,7 @@ fn ping_host(host: &str) {
// timed file copy test to guage bandwidth speeds
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
let start_time = Utc::now();