Commit graph

1979 commits

Author SHA1 Message Date
Joseph Crail
d4994233c7 whoami: remove unused import 2016-05-22 04:39:02 -04:00
Joseph Crail
5b77b82884 appveyor: disable Unix features 2016-05-22 04:22:54 -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
Joseph Crail
dfa8777540 appveyor: use only built artifacts 2016-05-21 21:46:08 -04:00
Heather
583ed341a7 Merge pull request #880 from knight42/fix
Fix #879
2016-05-21 18:08:35 +04:00
Knight
a196bebd1b uucore: add disp_err macro 2016-05-21 18:19:13 +08:00
Knight
aac1d40f64 dircolors: bypass the missing SHELL on windows 2016-05-21 18:18:40 +08:00
Heather
de910b266d Merge pull request #878 from jbcrail/update-appveyor-build
Update Appveyor build
2016-05-21 09:01:46 +04:00
Joseph Crail
61fd13078a appveyor: re-add build artifacts 2016-05-20 21:37:14 -04:00
Joseph Crail
77783180a0 appveyor: simplify build without make 2016-05-20 21:16:27 -04:00
Michael Gehring
41d563c4b9 Merge pull request #877 from jbcrail/pin_vecmap_for_tr
tr: update vec_map to 0.6.0
2016-05-15 08:12:20 +02:00
Joseph Crail
cd89a6e5c7 tr: update vec_map to 0.6.0
Fixes #865
2016-05-14 22:56:24 -04:00
Heather
ca78706246 Merge pull request #875 from knight42/dircolors
Implement dircolors
2016-05-10 22:18:40 +04:00
Heather
9534bf3f17 Merge pull request #872 from knight42/mknod
Implement mknod
2016-05-10 22:17:33 +04:00
Knight
92e95c7263 dircolors: tests added 2016-05-11 00:43:51 +08:00
Knight
ad9bfcef5b dircolors: implemented
TODO: More test case
2016-05-11 00:43:51 +08:00
Knight
c9f363d09c Add dircolors 2016-05-11 00:43:51 +08:00
Knight
6592e0308c mknod: use libc@0.2.4 to avoid unresolved name 2016-05-08 16:24:11 +08:00
Knight
78f9351e71 mknod: correct the help 2016-05-07 16:12:01 +08:00
Knight
948675b0e3 README: remove mknod from TODO list 2016-05-07 16:10:48 +08:00
Knight
467561da36 mknod: implemented 2016-05-07 15:21:37 +08:00
Knight
79478626da add mknod 2016-05-07 15:21:37 +08:00
Heather
1fafde8c27 Merge pull request #845 from peschkaj/master
Basic implementation of ls
2016-05-01 00:56:11 +04:00
Heather
f47fafb28d Merge pull request #830 from lucaotta/fix-788
Fix #788
2016-05-01 00:41:15 +04:00
Heather
57693af48d Merge pull request #871 from modelorganism/odupdate
add functionality to od
2016-05-01 00:34:24 +04:00
modelorganism
caebd834c6 od: fix failing test unable to find temp dir on linux 2016-04-29 20:17:51 -05:00
modelorganism
3f356a4190 od: take input from stdin, as well as files. 2016-04-26 23:17:00 -05:00
modelorganism
365b342792 od: create first tests for od 2016-04-25 22:06:38 -05:00
modelorganism
e6cf167d1d od: Accept multiple files names as input 2016-04-25 21:55:34 -05:00
modelorganism
1fbda9663d Add extra spaces to output to match formating of origial od 2016-04-25 21:47:24 -05:00
Heather
5fae29ad6c Merge pull request #869 from chungy/sha3
hashsum: add support for SHA-3 functions
2016-04-16 17:33:28 +04:00
Mike Swanson
c946202094 hashsum: add support for SHA-3 functions
Only the fixed output-size functions are supported, SHAKE128 and
SHAKE256 are not included for now.
2016-04-16 06:17:15 -07:00
Heather
e0c55b65a8 Merge pull request #868 from ebfe/od
od: fix infinite loop at EOF
2016-04-15 15:04:16 +04:00
Michael Gehring
77d1c309cd od: fix infinite loop at EOF
Fixes #866
2016-04-15 07:41:03 +02:00
Heather
2ab055445b Merge pull request #863 from ProgVal/patch-1
Revert unwanted change
2016-04-08 00:17:34 +04:00
Valentin Lorentz
57c928fe4f Revert unwanted change
introduced in 8ff308740c
2016-04-07 22:02:52 +02:00
Heather
02779fd3d2 Merge pull request #861 from ProgVal/test-tail-f
tail: Add test for `tail -f`.
2016-04-07 23:49:33 +04:00
Valentin Lorentz
8ff308740c Fix test on Rust Stable.
https://github.com/rust-lang/rust/issues/32801
2016-04-07 20:54:22 +02:00
Valentin Lorentz
e673a102b6 tail: Add test for tail -f. 2016-04-03 11:47:33 +02:00
Valentin Lorentz
4ba6ea7aad tests: Move part of UCommand::run to a new function 2016-04-03 11:46:33 +02:00
Valentin Lorentz
fe5bc47971 tests: Simplify logic of UCommand::run. 2016-04-03 11:46:33 +02:00
Heather
b3b8a1ea54 Merge pull request #862 from fitzgen/tail-size-multiplier-suffix
tail: Clean up and test suffix multiplier
2016-04-03 01:59:24 +04:00
Nick Fitzgerald
3972c6eb53 tail: Clean up and test suffix multiplier
Makes `parse_size` return a `Result` where the `Err` part indicates whether
there was a parsing error, or the parse size is too big to store. Also makes the
value parsed a `u64` rather than a `usize`.

Adds unit tests for `parse_size` and integration tests using the suffix
multiplier in a number passed with the `-n` flag.
2016-04-02 14:16:11 -07:00
Heather
ed6c87b3d3 Merge pull request #858 from ProgVal/implement-tail-z
tail: Implement `tail -z`.
2016-04-02 15:07:37 +04:00
Valentin Lorentz
2fd7164cda tail: Implement tail -z.
This options makes tail use NULL instead of newline as a line
delimiter.
2016-04-02 12:32:33 +02:00
Luca Ottaviano
f0186271ec tests/chmod: add test with both reference and symbolic mode
Only reference should be taken into account.
2016-04-02 10:30:19 +02:00
Luca Ottaviano
bbe54bc0a8 tests/chmod: add missing test for many symbolic permissions at once 2016-04-02 10:29:57 +02:00
Luca Ottaviano
6ded76714b chmod: remove unused dependencies 2016-04-02 10:29:57 +02:00
Luca Ottaviano
2686ea75d7 chmod: handle -octal and -[rwx]
The main issue is that -octal or -[rwx] is interpreted as an option by
getopts.
Search the args for such a pattern, remove it before parsing and
manually handle it afterwards.
Fixes #788.
2016-04-02 10:29:57 +02:00
Luca Ottaviano
9005ae7dbf tests/chmod: refactor tests to only create reference file once 2016-04-02 10:29:35 +02:00