HomeFreeBSD

MFC r288330,r288423,r288678,r288905,r288906,r288907,r289102:

Description

MFC r288330,r288423,r288678,r288905,r288906,r288907,r289102:

r288330:

Add initial testcases for bin/ls

Sponsored by: EMC / Isilon Storage Division

r288423:

Skip the B_flag testcase to stop blowing up freebsd-current@ with
"test failure emails" because kyua report-jenkins doesn't properly
escape non-printable chars

r288678:

Merge additional testcases and improvements to bin/ls/ls_tests from
^/user/ngie/more-tests.

  • Additional testcases added:
    • ls -D
    • ls -F
    • ls -H
    • ls -L
    • ls -R
    • ls -S
    • ls -T
    • ls -b
    • ls -d
    • ls -f
    • ls -g
    • ls -h
    • ls -i
    • ls -k
    • ls -l
    • ls -m
    • ls -n
    • ls -o
    • ls -p
    • ls -q/ls -w
    • ls -r
    • ls -s
    • ls -t
    • ls -u
    • ls -y
  • Socket file creation is limited to the ls -F testcase, greatly speeding up the test process
  • The ls -C testcase was made more robust by limiting the number of columns via COLUMNS and by dynamically formulating the columns/lines.
  • Add atf_test_case before all testcase head functions.

Sponsored by: EMC / Isilon Storage Division

r288905:

Add some more syncs to quiesce the filesystem after creating the
files to see if this fixes deterministic Jenkin failures

r288906:

Explicitly set BLOCKSIZE to 512 in the environment

r288907:

Call sync consistently using atf_check

Remove superfluous sync's

r289102:

Remove all of the syncs

They're unnecessary as shown by further testing on my VM

Requested by: jhb

Details

Provenance
ngieAuthored on
Parents
rS289964: MFstable/10 r289963:
Branches
Unknown
Tags
Unknown