summaryrefslogtreecommitdiff
path: root/tests/df/total-verify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/df/total-verify.sh')
-rwxr-xr-xtests/df/total-verify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/df/total-verify.sh b/tests/df/total-verify.sh
index 18d215f11..5f375bb88 100755
--- a/tests/df/total-verify.sh
+++ b/tests/df/total-verify.sh
@@ -32,7 +32,7 @@ while (<>)
# /dev/sdc1 0 0 0 - /c
# tmpfs 1536000 12965 1523035 1% /tmp
# total 5285932 787409 4498523 15% -
- /^(.*?) +(-?\d+|-) +(-?\d+|-) +(-?\d+|-) +(?:- |[0-9]+%) (.*)$/
+ /^(.*?) +(-?\d+|-) +(-?\d+|-) +(-?\d+|-) +(?:-|[0-9]+%) (.*)$/
or die "$0: invalid input line\n: $_";
if ($1 eq 'total' && $5 eq '-')
{