diff options
author | Andrew Kaster <andrewdkaster@gmail.com> | 2021-01-24 21:42:30 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-28 18:19:37 +0100 |
commit | 8fc862f71045d43688406599063aaf1efc3ef70e (patch) | |
tree | 12ce7e74775f01ef36c7691b13a7dd9971db6ff0 /Userland/Shell/Tests/builtin-redir.sh | |
parent | e787738c24754ce591b4226715fcc2049e37334f (diff) | |
download | serenity-8fc862f71045d43688406599063aaf1efc3ef70e.zip |
Userland: Install shell tests on Serenity
Also make them runnable anywhere. Previously they required $PWD to be
the directory containing test-commons.inc, and for $PWD to be writable.
Diffstat (limited to 'Userland/Shell/Tests/builtin-redir.sh')
-rw-r--r-- | Userland/Shell/Tests/builtin-redir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/Tests/builtin-redir.sh b/Userland/Shell/Tests/builtin-redir.sh index fba2b5f985..ff4254c311 100644 --- a/Userland/Shell/Tests/builtin-redir.sh +++ b/Userland/Shell/Tests/builtin-redir.sh @@ -1,6 +1,6 @@ #!/bin/sh -source test-commons.inc +source $(dirname "$0")/test-commons.inc rm -rf shell-test mkdir -p shell-test |