2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

ci: Alpine's busybox based free does not understand -h

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2020-12-26 19:29:58 +00:00 committed by Andrei Vagin
parent d2ed60b60a
commit f736b8750e

View File

@ -118,7 +118,12 @@ print_env() {
print_header "ulimit -a"
ulimit -a
print_header "Available memory"
free -h
if [ -e /etc/alpine-release ]; then
# Alpine's busybox based free does not understand -h
free
else
free -h
fi
print_header "Available CPUs"
lscpu || :
}