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.
This commit is contained in:
Andrew Kaster 2021-01-24 21:42:30 -07:00 committed by Andreas Kling
commit 8fc862f710
Notes: sideshowbarker 2024-07-18 21:51:29 +09:00
13 changed files with 19 additions and 13 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
source test-commons.inc
source $(dirname "$0")/test-commons.inc
# Syntax ok?
fn() { echo $* }