Commit graph

86 commits

Author SHA1 Message Date
Ian Douglas Scott 1532b207d2
Build chmod and install on Redox 2018-03-18 18:24:25 -07:00
Ian Douglas Scott 7d657e3c0d
Build shred on Redox 2018-03-16 18:47:35 -07:00
Ian Douglas Scott 301b9002ce
Port test to Redox 2018-03-16 18:39:53 -07:00
Ian Douglas Scott 6f4b91db93
Build hashsum, join, ln, ls, mkdir, mktemp, nl, ptx, sort on Redox 2018-03-14 22:10:28 -07:00
Ian Douglas Scott 1471e95b22
Make the 'cat' utility build on Redox 2018-03-14 10:21:12 -07:00
Alex Lyon 880a4973c1 Format everything using rustfmt 2018-03-12 01:20:58 -07:00
Alex Lyon 6330474b4f hostname: add support for Windows (and maybe other systems too) 2018-03-06 16:40:08 -08:00
Alex Lyon 15aaa8215e uucore: read from sys:uname on Redox 2018-03-05 17:31:33 -08:00
Alex Lyon 5d241da7ca arch: add support for building on Windows 2018-03-04 17:58:16 -08:00
Alex Lyon 293b16d281
Move rust-users fork under the uutils organization 2018-03-04 04:07:36 -08:00
Alex Lyon d8e738c49b tests: disable some chgrp tests when part of the root group
Some tests failed when run using Docker because they assumed the
user would never be root.  This is more of a band-aid solution.
An actual fix would be to test see if something like these tests
were to succeed when the user is root.
2018-03-03 12:04:22 -08:00
Konstantin Pospelov b33ce67d91 join: implement basic functionality
The basic implementation of join with some tests. The supported
options: -1, -2, -j, -a, -i.
2017-12-14 00:02:42 +03:00
Yury Krivopalov b2ad51839b Add numfmt 2017-11-09 00:23:24 +03:00
Ian Douglas Scott 1a28a48ca3
Merge branch 'master' into expr-regex 2017-10-01 10:09:06 -07:00
Joshua Miller e8073d2596 pin dependencies 2017-07-15 15:16:09 -05:00
Anthony Deschamps 41d1dfaf44 Partial implemantion of date. 2017-03-26 23:43:29 -04:00
Daan Hoogland cd1f0690d7 create redox feature as subset of generic 2017-01-15 13:48:33 +01:00
Joshua Miller 133934f7cf add cat support for unix domain sockets
- adds conditional supports for unix domain sockets
   - adds unix domain socket test
   - adds Results to functions, removing unwraps
   - uutils `cat` used to panic on broken stdout pipes (e.g. `cat
     /dev/zero | head -c1`).  this is fixed in this PR
   - updated to exit 0 on success, and 1 if an error occurs.
   - adds docstrings
   - adds an error log on printing a directory
   - adds categorization of other filetypes for extensible
     differentiation of behaviors
   - adds OutputOptions struct to replace params for extensibility
   - adds correct status code on exit
2017-01-08 19:56:35 -06:00
Alexander Batischev 655804cff4 tests/chmod: protect umask with a mutex
`test_chmod_ugoa` and `test_chmod_many_options` both change umask, which
is global state. Since tests run concurrently, this might lead to
a situation where one of the tests changes umask to a value that screws
another test's checks. To prevent this, we introduce a mutex that should
be held by any test that changes umask.

Unfortunately, there's no way to hide umask behind this mutex and
enforce its usage: programmers will have to maintain the discipline
themselves.
2016-12-19 13:14:38 +03:00
Lei Zhang e57f987190 All generic utilities compilable on Fuchsia now. 2016-12-14 23:29:40 -05:00
Lei Zhang a34cd30f54 Enable compilation of ls on Fuchsia.
This updates the dependency of pretty-bytes to v0.2.
2016-12-14 23:29:38 -05:00
Lei Zhang ba244794f0 Enable compilation of more on Fuchisa. 2016-12-08 13:08:17 -05:00
Lei Zhang c2882da2e7 mktemp, nproc, ptx, and uniq compilable on Fuchsia now. 2016-11-30 10:50:47 -05:00
Lei Zhang 546f2855d5 Create a new feature for Fuchsia-enabled utilities. 2016-11-24 18:15:50 -05:00
Will Wykeham b9ddb52630 Make Cargo.toml match the Makefile 2016-11-18 13:58:50 +00:00
Will Wykeham 2ad896a6ca Move 'mv' into generic now it builds properly on Windows 2016-11-18 13:58:49 +00:00
Wim Hueskes a900b42a1f od: refactor: readability of expected output
use multiple lines in source too and use unindent crate to fix spacing
2016-09-01 00:00:52 +02:00
Martin Kysel 23bab3df69 moved more to unix utils, minor review updates 2016-08-23 11:40:09 +01:00
Martin Kysel 7d77b9720d Initial more implementation 2016-08-23 10:45:51 +01:00
Knight 8cba71adb4 chgrp: add entries 2016-08-21 17:04:02 +08:00
Knight 8c6cd72848 who: add entries 2016-08-11 00:19:26 +08:00
Knight a23f1a13e7 Remove useless crates 2016-08-07 01:23:49 +08:00
Knight 7c5416799e base32: add entries 2016-08-06 11:45:03 +08:00
Knight 68631e555f Fix windows build 2016-07-29 20:49:08 +08:00
mpkh da0de488e6 Merge pull request #913 from knight42/pinky
Implement pinky
2016-07-26 13:38:53 +04:00
Knight 50fcfac5d1 pinky: Add entries 2016-07-26 16:44:25 +08:00
Ben Eills e72ec4a5bb Implement skeleton install utility
Add install utility skeleton source, based on
mv, including the getopts setup mirroring
GNU's `man install` documentation.  Also
add a single test and build system code.
2016-07-12 20:56:21 +02:00
mpkh 61cf4e4fba Merge pull request #906 from knight42/chown
Implement chown
2016-07-10 19:01:03 +04:00
Smigle00 35fec95d60 arch: add new utility
Signed-off-by: Smigle00 <smigle00@gmail.com>
2016-07-10 00:48:10 +05:30
Knight 69beb787d1 chown: Add entries 2016-06-22 21:36:50 +08:00
Knight ab17a5e544 stat: Add entries 2016-06-04 13:33:08 +08:00
Joseph Crail 678a05d90f mktemp: add build for all systems 2016-05-22 22:54:39 -04:00
Heather bdc1ca7426 Merge pull request #882 from jbcrail/fix-windows-build
Improve Windows build
2016-05-22 16:02:03 +04:00
ibabushkin d504ae18c9 pathchk implemented (see #841) (#860)
* Added pathchk
2016-05-22 15:59:57 +04:00
Joseph Crail 7ef4bb37a8 tests: consolidate into one crate
The main motivation is to move toward running those tests for a specific
target, that is, if a test won't run on Windows, then we shouldn't build
it. This was previously the default behavior and prevented a successful
run on AppVeyor.

I borrowed this pattern from the tests in the Cargo project.
2016-05-22 03:46:54 -04:00
Heather ca78706246 Merge pull request #875 from knight42/dircolors
Implement dircolors
2016-05-10 22:18:40 +04:00
Knight c9f363d09c Add dircolors 2016-05-11 00:43:51 +08:00
Knight 79478626da add mknod 2016-05-07 15:21:37 +08:00
Jeremiah Peschka 9716862cfe Adding skeleton of ls 2016-03-25 14:00:27 -07:00
Michael Gehring 1183dcd7a1 travis: build/test everything on stable 2016-03-23 13:15:36 +01:00