mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +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"
|
||||
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 || :
|
||||
}
|
||||
|
Reference in New Issue
Block a user