summaryrefslogtreecommitdiff
path: root/utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt
diff options
context:
space:
mode:
authorYing Yi <maggieyi666@gmail.com>2017-11-23 12:48:41 +0000
committerYing Yi <maggieyi666@gmail.com>2017-11-23 12:48:41 +0000
commitda18ebeb4eb31f10379a83920f5a27bdc9e35d46 (patch)
tree994db0e1b655d3c62a809e8a5a27bbe3e360d44c /utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt
parent30e25c33bc96066d1ed550e870a86b88766b97f1 (diff)
[lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally
Summary: The internal shell already supports 'cd', ‘export’ and ‘echo’ commands. This patch adds implementation of non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands as the internal shell builtins. Reviewers: Zachary Turner, Reid Kleckner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D39567 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318911 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt')
-rw-r--r--utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt b/utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt
new file mode 100644
index 00000000000..1bab79aad08
--- /dev/null
+++ b/utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt
@@ -0,0 +1,4 @@
+# Check error on a unsupported rm (can't remove test since it is a directory).
+#
+# RUN: mkdir -p test
+# RUN: rm -f test