From 90bfe6cbf616c4fcd6903a2e0a087045c8f4ea35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 22 Aug 2026 21:16:39 +0200 Subject: Shell: implement cd command Changelog: Implemented the `cd` command in shell interpreter. --- test/asset/shell/working-directory.et | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/asset') 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 -- cgit v1.2.3