From ab17a5e5449f8dd732be2af23239b781ac8700a4 Mon Sep 17 00:00:00 2001 From: Knight Date: Wed, 1 Jun 2016 20:20:32 +0800 Subject: [PATCH] stat: Add entries --- Cargo.toml | 2 ++ Makefile | 2 ++ tests/tests.rs | 1 + 3 files changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 23e63faa8..e17c40bd2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,7 @@ unix = [ "nice", "nohup", "pathchk", + "stat", "stdbuf", "timeout", "touch", @@ -153,6 +154,7 @@ shuf = { optional=true, path="src/shuf" } sleep = { optional=true, path="src/sleep" } sort = { optional=true, path="src/sort" } split = { optional=true, path="src/split" } +stat = { optional=true, path="src/stat" } stdbuf = { optional=true, path="src/stdbuf" } sum = { optional=true, path="src/sum" } sync = { optional=true, path="src/sync" } diff --git a/Makefile b/Makefile index 20dd47815..e7abc7007 100644 --- a/Makefile +++ b/Makefile @@ -113,6 +113,7 @@ UNIX_PROGS := \ nice \ nohup \ pathchk \ + stat \ stdbuf \ timeout \ touch \ @@ -168,6 +169,7 @@ TEST_PROGS := \ seq \ sort \ split \ + stat \ stdbuf \ sum \ tac \ diff --git a/tests/tests.rs b/tests/tests.rs index 044ba6ffa..1f07567f5 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -21,6 +21,7 @@ mod sieve; #[cfg(unix)] mod test_stdbuf; #[cfg(unix)] mod test_touch; #[cfg(unix)] mod test_unlink; +#[cfg(unix)] mod test_stat; mod test_base64; mod test_basename;