Commit graph

2034 commits

Author SHA1 Message Date
Joseph Crail
6652e6b57d tests: un-hardcode executable artifact 2016-05-22 15:10:46 -04:00
Joseph Crail
de7b6202a8 tests: move pathchk into new format 2016-05-22 15:10:16 -04:00
Joseph Crail
89b600628d tests: move macros into separate module 2016-05-22 15:10:06 -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
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