diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/date/date-works-1 | 2 | ||||
-rwxr-xr-x | testsuite/mdev.tests | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/date/date-works-1 b/testsuite/date/date-works-1 index bd984c0be..1b3e47ab0 100644 --- a/testsuite/date/date-works-1 +++ b/testsuite/date/date-works-1 @@ -126,4 +126,4 @@ test x"$res" = xOK # This should error out (by showing usage text). Testing for that dt=`busybox date -d 012311332000.30 %+c 2>&1 | head -n 1` -test x"${dt#BusyBox * multi-call binary}" = x +test x"${dt##BusyBox * multi-call binary*}" = x"" 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" |