Disk: Test df output on travis

This commit is contained in:
Dylan Araps 2016-12-16 23:52:10 +11:00
parent 157911547a
commit 43eaf34242
1 changed files with 6 additions and 5 deletions

View File

@ -22,6 +22,11 @@ shopt -s nocasematch
# Reset colors/bold
reset="\033[0m"
echo; echo
df -h
echo; echo
exit
# DETECT INFORMATION
get_os() {
@ -1545,11 +1550,7 @@ get_disk() {
# Split the info
case "$os" in
"Haiku") return ;;
"Mac OS X")
disk_used="${disks[10]}"
disk_total="${disks[9]}"
disk_total_per="(${disks[12]})"
;;
"Mac OS X") ;;
*)
disk_used="${disks[9]}"