Disk: Test df output on travis
This commit is contained in:
@@ -22,6 +22,11 @@ shopt -s nocasematch
|
|||||||
# Reset colors/bold
|
# Reset colors/bold
|
||||||
reset="\033[0m"
|
reset="\033[0m"
|
||||||
|
|
||||||
|
echo; echo
|
||||||
|
df -h
|
||||||
|
echo; echo
|
||||||
|
exit
|
||||||
|
|
||||||
# DETECT INFORMATION
|
# DETECT INFORMATION
|
||||||
|
|
||||||
get_os() {
|
get_os() {
|
||||||
@@ -1545,11 +1550,7 @@ get_disk() {
|
|||||||
# Split the info
|
# Split the info
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Haiku") return ;;
|
"Haiku") return ;;
|
||||||
"Mac OS X")
|
"Mac OS X") ;;
|
||||||
disk_used="${disks[10]}"
|
|
||||||
disk_total="${disks[9]}"
|
|
||||||
disk_total_per="(${disks[12]})"
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
*)
|
||||||
disk_used="${disks[9]}"
|
disk_used="${disks[9]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user