From 42ad032a945ff437bc032b0882fb0ce3386bc247 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 11 Jun 2018 13:17:34 -0700 Subject: Add tests for file stdin behavior. --- tests/file.test | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/file.test b/tests/file.test index d749d960..93805569 100644 --- a/tests/file.test +++ b/tests/file.test @@ -22,4 +22,10 @@ testing "symlink" "file symlink" "symlink: symbolic link\n" "" "" testing "symlink -h" "file -h symlink" "symlink: symbolic link\n" "" "" testing "symlink -L" "file -L symlink" "symlink: Java class file, version 49.0\n" "" "" -rm empty bash.script bash.script2 env.python.script ascii java.class symlink +testing "- pipe" "cat java.class | file -" "-: Java class file, version 49.0\n" "" "" +testing "- redirect" "file -