Commit graph

5710 commits

Author SHA1 Message Date
Joseph Crail
6ef7f98f26 Delay resolution of library symbols until runtime.
This is needed for dynamic libraries on OS X. This was supposed to be
part of #647, but it was left out.
2015-07-09 18:39:46 -04:00
Joseph Crail
49d9de17fe Fix deprecation warnings for tr.
I switched over to the bit-vec/bit-set cargos.
2015-07-09 18:30:03 -04:00
Alex Lyon
8f6d13df5f Merge pull request #647 from jbcrail/fix-osx-stdbuf
Fix OS X build errors for stdbuf.
2015-07-09 14:58:07 -07:00
Alex Lyon
7c2ed679ab Merge pull request #649 from jbcrail/fix-stdbuf-regression
Fix stdbuf regression.
2015-07-09 12:58:13 -07:00
Joseph Crail
b8ab2c125f Fix stdbuf regression.
When replacing range_inclusive(), I introduced a bug when parsing
arguments. I added a smoke test to prevent basic regressions in the
future.
2015-07-09 15:23:14 -04:00
Joseph Crail
3fa2e89a7a Fix OS X build errors for stdbuf.
I removed unused linker flags, added platform-specific linker flags, and
used DYLD_LIBRARY_PATH (instead of DYLD_INSERT_LIBRARIES) for loading
the dynamic library. I also removed an unused variable mutation.
2015-07-09 13:04:04 -04:00
Alex Lyon
860ee57573 Merge pull request #648 from jbcrail/rm-unused-mutation
Remove unused mutation from variables.
2015-07-08 21:26:31 -07:00
Joseph Crail
3270040778 Remove unused mutation from variables. 2015-07-08 22:24:02 -04:00
Heather
6b927c2ec3 Merge pull request #646 from jbcrail/fix-split-tests
Fix broken split tests.
2015-07-06 07:41:38 +03:00
Heather
333f7f6dec Merge pull request #645 from jbcrail/rm-unused-attribute
Remove unused attribute.
2015-07-06 07:41:31 +03:00
Joseph Crail
7b5d800104 Fix broken split tests.
I added a prefix to each test to isolate working files.
2015-07-05 23:35:32 -04:00
Joseph Crail
01b0d5da1c Remove unused attribute. 2015-07-05 22:36:34 -04:00
Heather
15fe464e4a Merge pull request #644 from jbcrail/add-ln
Add initial implementation for ln.
2015-07-05 23:06:57 +03:00
Joseph Crail
ed9dd20ab4 Remove ln from TODO. 2015-07-05 15:04:56 -04:00
Joseph Crail
9f1dc98925 Add initial implementation for ln.
There are several areas needing improvement:

1) add tests for hard links
2) add implementation for uncommon flags (-d, -L, -n, -P, -r)
3) align error messages more closely with GNU implementation
2015-07-05 14:52:31 -04:00
Heather
942fe0d7e0 Merge pull request #643 from jbcrail/fix-mv-help
Fix alignment of mv help.
2015-07-02 09:23:22 +03:00
Joseph Crail
951be1bfaa Fix alignment of mv help. 2015-07-01 22:09:33 -04:00
Joseph Crail
dd97629a0e Merge pull request #640 from remram44/mv-strip-trailing-slashes
Implement mv's --strip-trailing-slashes
2015-06-30 23:31:03 -04:00
Remi Rampin
85cb9aca94 Add a test 2015-06-30 23:17:16 -04:00
Joseph Crail
ab85f5a79d Merge pull request #641 from remram44/fix-timeout
Fix timeout
2015-06-30 22:53:30 -04:00
Joseph Crail
633a429e43 Merge pull request #642 from remram44/allow-stable-failure
Allow failure on Rust 1.0.0 (broken right now)
2015-06-30 22:49:14 -04:00
Remi Rampin
629eaf7770 Allow failure on Rust 1.0.0 (broken right now) 2015-06-30 19:02:13 -04:00
Remi Rampin
0691965d63 Use ChildExt to wait from timeout.rs 2015-06-30 18:45:13 -04:00
Remi Rampin
dc40480e6e Switch wait_or_timeout() to f64 2015-06-30 18:44:32 -04:00
Remi Rampin
d806ab4809 Use ChildExt to kill from timeout.rs 2015-06-30 18:44:30 -04:00
Remi Rampin
cce3d5171d ChildExt for send_signal() and wait_or_timeout() 2015-06-30 18:42:51 -04:00
Remi Rampin
13f5994e15 Rename time.rs to parse_time.rs
Conflicts with crate time.
2015-06-30 18:42:51 -04:00
Remi Rampin
28302555b8 Replace missing signal() by libc kill() directly 2015-06-30 18:42:50 -04:00
Remi Rampin
66a40d555d Update timeout.rs to new io 2015-06-30 18:42:19 -04:00
Remi Rampin
0ed57b3896 Fix simple typo in mv.rs 2015-06-30 15:21:40 -04:00
Remi Rampin
b8d5602655 Implement mv's --strip-trailing-slashes 2015-06-30 13:24:19 -04:00
Heather
e7685e6fe9 Merge pull request #639 from jbcrail/update-nightly
Update to nightly build.
2015-06-24 08:11:44 +03:00
Joseph Crail
690a483a8a Update to nightly build.
I updated the library dependencies, features, and deprecated methods.
2015-06-23 23:00:00 -04:00
Heather
ad8724e84e Merge pull request #638 from jbcrail/add-tac-tests
Add tests for tac.
2015-06-07 09:44:32 +03:00
Joseph Crail
dcfc23498e Add tests for tac. 2015-06-06 22:33:56 -04:00
Heather
369ec58578 Merge pull request #637 from jbcrail/fix-ptx-tests-on-osx
Fix ptx tests on OS X.
2015-06-06 07:32:42 +03:00
Joseph Crail
9bc33a43f9 Fix ptx tests on OS X.
For those systems that don't have ptx installed by default, I modified
the tests to use pre-calculated results to check against the GNU
implementation.
2015-06-05 19:55:02 -04:00
Heather
4f3e8e6f3d Merge pull request #636 from jbcrail/update-dependencies
Update dependencies.
2015-06-05 06:56:24 +03:00
Joseph Crail
cf7db989e7 Update dependencies.
I added the regex-syntax crate to the dependencies for hashsum, nl, and
ptx.
2015-06-04 22:37:51 -04:00
Heather
b52c395159 Merge pull request #635 from jbcrail/fix-split-tests
Fix split tests.
2015-06-04 21:56:43 +03:00
Joseph Crail
0df4918f2d Fix split tests.
I added an additional regex dependency and converted strings to
Vec<u8>'s for the assertions.
2015-06-04 13:57:17 -04:00
Heather
9cfe018e66 Merge pull request #634 from jbcrail/add-realpath-tests
Refactor and add tests for realpath.
2015-06-04 09:47:05 +03:00
Joseph Crail
23cb9541e7 Add initial tests for realpath. 2015-06-04 00:04:37 -04:00
Joseph Crail
4aed2eafa8 Move common methods into test library. 2015-06-04 00:04:10 -04:00
Joseph Crail
c3802bb69c Add helper method for creating symlinks. 2015-06-04 00:03:25 -04:00
Joseph Crail
43d3ec7bbb Ignore static libraries from build. 2015-06-03 12:48:23 -04:00
Joseph Crail
d457f796f8 Update README to reflect completion of ptx. 2015-06-03 02:31:25 -04:00
Heather
7bf48c8c06 Merge pull request #633 from jbcrail/refactor-wc
Refactor wc.
2015-06-03 09:13:14 +03:00
Joseph Crail
2dd90af92a Add initial tests. 2015-06-03 01:41:56 -04:00
Joseph Crail
1e22455032 Align formatting with GNU implementation. 2015-06-03 01:41:56 -04:00