diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-08-22 21:16:39 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-08-22 21:22:10 +0200 |
| commit | 90bfe6cbf616c4fcd6903a2e0a087045c8f4ea35 (patch) | |
| tree | 5983a5ec1737adb5d4615f227eb8d646bc3a190c /test/asset | |
| parent | 1204839cc27af071582b8f6c88530b6840f56f72 (diff) | |
Shell: implement cd command
Changelog: Implemented the `cd` command in shell interpreter.
Diffstat (limited to 'test/asset')
| -rw-r--r-- | test/asset/shell/working-directory.et | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/asset/shell/working-directory.et b/test/asset/shell/working-directory.et index e1732ee..da31e2f 100644 --- a/test/asset/shell/working-directory.et +++ b/test/asset/shell/working-directory.et @@ -2,3 +2,18 @@ test Test: node n shell on n as sh: pwd + mkdir -p abc/def/ghi + cd abc/def + pwd + cd .. + pwd + cd def/ghi + pwd + cd - + pwd + cd - + pwd + cd + pwd + cd /tmp + pwd |