mirror of
https://github.com/AuxXxilium/yet-another-bench-script.git
synced 2024-11-23 23:01:02 +07:00
Add warning message on failed Geekbench/CentOS7 (#71)
This commit is contained in:
parent
0a07c87d74
commit
eb80002b46
4
yabs.sh
4
yabs.sh
@ -904,6 +904,10 @@ function launch_geekbench {
|
|||||||
|
|
||||||
# ensure the test ran successfully
|
# ensure the test ran successfully
|
||||||
if [ -z "$GEEKBENCH_TEST" ]; then
|
if [ -z "$GEEKBENCH_TEST" ]; then
|
||||||
|
# detect if CentOS 7 and print a more helpful error message
|
||||||
|
if grep -q "CentOS Linux 7" /etc/os-release; then
|
||||||
|
echo -e "\r\033[0K CentOS 7 and Geekbench have known issues relating to glibc (see issue #71 for details)"
|
||||||
|
fi
|
||||||
if [[ -z "$IPV4_CHECK" ]]; then
|
if [[ -z "$IPV4_CHECK" ]]; then
|
||||||
# Geekbench test failed to download because host lacks IPv4 (cdn.geekbench.com = IPv4 only)
|
# Geekbench test failed to download because host lacks IPv4 (cdn.geekbench.com = IPv4 only)
|
||||||
echo -e "\r\033[0KGeekbench releases can only be downloaded over IPv4. FTP the Geekbench files and run manually."
|
echo -e "\r\033[0KGeekbench releases can only be downloaded over IPv4. FTP the Geekbench files and run manually."
|
||||||
|
Loading…
Reference in New Issue
Block a user