summaryrefslogtreecommitdiffstats
path: root/bin/ls
Commit message (Collapse)AuthorAgeFilesLines
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedngie2016-05-041-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
* MFHgjb2016-03-101-0/+11
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-091-0/+11
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | Explicitly add unmarked bin/ binaries to the runtime package.gjb2016-02-091-0/+1
| | | | | | | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation
* | First pass to fix the 'tests' packages.gjb2016-02-021-0/+4
|/ | | | Sponsored by: The FreeBSD Foundation
* Fix ls -l alignement with new localesbapt2015-12-071-1/+95
| | | | | | | | | | | | | Latest update of locales introduced abbreviated month that follows the regionale rules meaning that they can be of variable length instead of being arbitrary truncated to top 3 characters. To fix alignement, ls now computes the visible length of the abbreviated month, pads the shorter month with spaces in order to make sure everything is properly aligned Reviewed by: ache, ed, jilles Differential Revision: https://reviews.freebsd.org/D4239
* Enable bin/ls testcases disabled previously because of issues with howngie2015-12-071-6/+0
| | | | | | | | | | | kyua 0.11's version of report-junit was rendering non-printable characters Upgrade to kyua 0.12 to obtain a fixed version of the command Output verified with python 2.7.10's xml.dom.minidom module MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Add more text to explain --libxo flag.rodrigc2015-12-011-1/+8
|
* Update ls -l tests to use mtime, not birthtimeemaste2015-10-301-6/+6
| | | | | | | PR: 204155 Reviewed by: ngie, rodrigc Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4040
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-2/+0
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Remove all of the syncsngie2015-10-101-10/+0
| | | | | | They're unnecessary as shown by further testing on my VM Requested by: jhb
* Call sync consistently using atf_checkngie2015-10-061-6/+6
| | | | Remove superfluous sync's
* Explicitly set BLOCKSIZE to 512 in the environmentngie2015-10-061-0/+1
|
* Add some more syncs to quiesce the filesystem after creating thengie2015-10-061-0/+4
| | | | files to see if this fixes deterministic Jenkin failures
* Merge additional testcases and improvements to bin/ls/ls_tests fromngie2015-10-052-64/+674
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ^/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. X-MFC with: r284388, r288330, r288423 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Skip the B_flag testcase to stop blowing up freebsd-current@ withngie2015-09-301-0/+1
| | | | | "test failure emails" because kyua report-jenkins doesn't properly escape non-printable chars
* Add initial testcases for bin/lsngie2015-09-283-0/+373
|\ | | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
| * Start adding tests for bin/lsngie2015-06-143-0/+120
| |
* | Fix whitespace error in ls(1) detected by igorallanjude2015-09-271-3/+3
| | | | | | | | | | Approved by: bcr (mentor) Sponsored by: EuroBSDCon DevSummit
* | Use one fewer made up words in the ls(1) man pageallanjude2015-09-271-2/+2
| | | | | | | | | | | | | | PR: 203337 Submitted by: Mike Dame <damemi@gmail.com> Approved by: bcr (mentor) Sponsored by: EuroBSDCon DevSummit
* | Upgrade libxo to 0.4.5.marcel2015-08-241-1/+1
| | | | | | | | | | | | | | Local changes incorporated by 0.4.5: r284340 Local changes retained: r276260, r282117 Obtained from: https://github.com/Juniper/libxo
* | Cast uid and gid to the correct type for display to solve segfault in ls(1) ↵allanjude2015-07-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | on 32bit arches Correctly escape literal % for display This fixes segfaults in 32bit arches caused by r285734 Reviewed by: ngie Approved by: dim Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3191
* | Remove an excess space accidently introduced in the output in ls(1) by r285734allanjude2015-07-221-1/+1
| | | | | | | | | | | | | | Spotted by: dim Approved by: eadler (mentor) Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3152
* | Fix some issues with the application of libxo to ls(1)allanjude2015-07-213-11/+45
| | | | | | | | | | | | | | | | | | | | * Add whitespace trimming to some fields (username, group, size, inode, blocks) to avoid whitespace in JSON strings * fix -m mode, was invalid JSON (repeated keys), and was missing outer array container * in -n mode, numeric uids and gids were returned as strings Approved by: eadler (mentor) Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D2854
* | Prevent potential integer overflowbapt2015-07-131-2/+6
| | | | | | | | | | PR: 192971 Submitted by: David Carlier <david.carlier@hardenedbsd.org>
* | Since r284198, ls(1) just always depends libxo(3), not only in case ofmarius2015-07-121-2/+2
| | | | | | | | MK_LS_COLORS or !RELEASE_CRUNCH.
* | Continue ubreaking ``env LANG=ru_RU.KOI8-R ls -l''.kan2015-06-171-2/+2
| | | | | | | | File names are in current locale as well.
* | Unbreak ``env LANG=ru_RU.KOI8-R ls -l''.marcel2015-06-171-1/+1
| | | | | | | | Time strings are in the current locale.
* | new dependssjg2015-06-161-0/+1
|/
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-4/+2
| |\
| * \ Merge head from 7/28sjg2014-08-192-3/+2
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \
| * \ \ \ Merge headsjg2014-04-282-9/+62
| |\ \ \ \
| * \ \ \ \ Merge from headsjg2013-09-051-0/+3
| |\ \ \ \ \
| * \ \ \ \ \ sync from headsjg2013-04-121-1/+19
| |\ \ \ \ \ \
| * | | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | | |
| * | | | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | | | |
| * | | | | | | Sync with HEAD.obrien2013-02-087-72/+165
| |\ \ \ \ \ \ \
| * | | | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+1
| | | | | | | | |
| | | | | | | | |
| | \ \ \ \ \ \ \
| *-. \ \ \ \ \ \ \ Sync from headsjg2012-11-042-7/+11
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+21
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | r284198 seems to have left a null format string printf that gcc does *not*sbruno2015-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like breaking mips builds. Submitted by: Shawn Webb <shawn.webb@hardenedbsd.org> Obtained from: HardenedBSD
* | | | | | | | | | Convert ls(1) to use libxo(3).marcel2015-06-106-104/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Phil Shafer <phil@juniper.net> Sponsored by: Juniper Networks, Inc.
* | | | | | | | | | It has been long time that when doing 'ls -G /path/to/a/symlink', instead ofdelphij2015-06-081-2/+7
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using the color of symbolic link, the color is determined by the link target. This behavior was quite confusing. Looking at the file history, it looks like that r203665 intends to fix this but the issue was never actually fixed. Fix this by not setting FTS_COMFOLLOW when color is requested like what was done in r203665. MFC after: 2 weeks
* | | | | | | | | Convert bin/ to LIBADD, reduce overlinking allow to build all components asbapt2014-11-251-4/+2
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | static
* | | | | | | | Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-171-2/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
OpenPOWER on IntegriCloud