mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +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:
committed by
Andrei Vagin
parent
d2ed60b60a
commit
f736b8750e
@@ -118,7 +118,12 @@ print_env() {
|
|||||||
print_header "ulimit -a"
|
print_header "ulimit -a"
|
||||||
ulimit -a
|
ulimit -a
|
||||||
print_header "Available memory"
|
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"
|
print_header "Available CPUs"
|
||||||
lscpu || :
|
lscpu || :
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user