fix: some test fix

This commit is contained in:
Peter Šurda 2021-02-28 09:31:56 +01:00
parent d691022aef
commit 0ffaf3c6e7
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -37,7 +37,7 @@ function partition_list
awk -F: \
'{if (NR > 2)
print $1
}')"
}'|xargs echo)"
}
function find_unused
@ -46,7 +46,7 @@ function find_unused
unused="$(parted -m "$drive" -- print|awk -F: \
'{if (NR > 2 && $1 >= 2 && $6 == "root unused") {
print $1
}}')|head -1"
}}'|head -1)"
}
function find_oldest