aboutsummaryrefslogtreecommitdiff
path: root/testsuite/mdev.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-25 02:00:16 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-25 02:00:16 +0100
commit307b24c85172a40909d634e615a68c8c65770697 (patch)
tree04e23e5c5d09233ad4b58adde7a1d88a6884c294 /testsuite/mdev.tests
parent2315c8854c2be911283c5b4b7eb3f37332758abb (diff)
downloadbusybox-307b24c85172a40909d634e615a68c8c65770697.tar.gz
testsuite-discovered fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/mdev.tests')
-rwxr-xr-xtestsuite/mdev.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests
index 319c670da..036738e52 100755
--- a/testsuite/mdev.tests
+++ b/testsuite/mdev.tests
@@ -7,9 +7,9 @@
# ls -ln is showing date. Need to remove that, it's variable
# sed: (1) "maj, min" -> "maj,min" (2) coalesce spaces
# cut: remove date
-FILTER_LS="sed -e 's/, */,/g' -e 's/ */ /g' | cut -d' ' -f 1-5,9-"
+FILTER_LS="grep -v '^total ' | sed -e 's/, */,/g' -e 's/ */ /g' | cut -d' ' -f 1-5,9-"
# cut: remove size+date
-FILTER_LS2="sed -e 's/, */,/g' -e 's/ */ /g' | cut -d' ' -f 1-4,9-"
+FILTER_LS2="grep -v '^total ' | sed -e 's/, */,/g' -e 's/ */ /g' | cut -d' ' -f 1-4,9-"
# testing "test name" "options" "expected result" "file input" "stdin"