diff options
| author | peter <peter@pmikkelsen.com> | 2026-08-22 19:51:13 +0000 |
|---|---|---|
| committer | peter <peter@pmikkelsen.com> | 2026-08-22 19:51:13 +0000 |
| commit | 956cfb9ac26f44d05ffc446f30f84174865685a4 (patch) | |
| tree | bdfb6203b99809575ec18b3564d73ba75aed290a /tests | |
| parent | dc9b7f961d1c5f39a07085c9dbad8d94bbacde70 (diff) | |
Start work on a way to test #! scripts
FossilOrigin-Name: 0637c5749d38b540e2a174b5248bf704098fd4ead61aa1d6e84d4495430c7149
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/scripts/1.aplwc | 3 | ||||
| -rwxr-xr-x | tests/scripts/2.aplwc | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/scripts/1.aplwc b/tests/scripts/1.aplwc new file mode 100755 index 0000000..77104b2 --- /dev/null +++ b/tests/scripts/1.aplwc @@ -0,0 +1,3 @@ +#!/usr/bin/env aplwc-repl + +⎕←40 + 2 diff --git a/tests/scripts/2.aplwc b/tests/scripts/2.aplwc new file mode 100755 index 0000000..e60e717 --- /dev/null +++ b/tests/scripts/2.aplwc @@ -0,0 +1,9 @@ +#!/usr/bin/env aplwc-repl + +∇ run + foo 123 +∇ + +∇ foo x + ⎕←x+x +∇ |