feat(core): the command line with its local commands after Java, measured against Java

The terminal splits a line as Java's window does and runs ls, cd, pwd,
mkdir, touch, cp, mv, rm, cat, test, help, ipconfig and route on the
node's files, which are the project's own. Its texts are generated from
the bundle Java loads. TerminalCases feeds Java's Terminal without a
network (16 cases, de and en); eight cases name Java bugs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 20:32:35 +00:00
co-authored by Claude Opus 5.5
parent 058675a148
commit 016f9461df
17 changed files with 14404 additions and 7 deletions
+140
View File
@@ -0,0 +1,140 @@
# Cases for tools/java-oracle's TerminalCases: FILIUS' command line fed with
# lines as typed, one per line. Read by terminal.test.ts.
case listing
ls
dir
ls Dokumente
ls /Dokumente/Alt
ls gibtsnicht
ls ..
dir /
ls a b
case navigate
pwd
cd Dokumente
pwd
cd Alt
cd ..
cd ../..
cd /Dokumente/Alt
cd /
cd gibtsnicht
cd DOKUMENTE
pwd
cd
cd /
cd notizen.txt
pwd
ls
case files
touch neu.txt
touch neu.txt
touch NEU.TXT
touch Dokumente/neu2.txt
touch /gibtsnicht/x.txt
touch ..
mkdir Neu
mkdir Neu
mkdir neu
mkdir Dokumente/Alt/Tief
mkdir /gibtsnicht/x
mkdir ..
ls
case copy
cp notizen.txt kopie.txt
cp gibtsnicht.txt x.txt
cp notizen.txt NOTIZEN.TXT
copy bild.png Dokumente/bild2.png
cp kurz.txt /leer/kurz.txt
cp notizen.txt
cp notizen.txt Dokumente
ls
case move
mv notizen.txt umbenannt.txt
mv kurz.txt Dokumente/kurz.txt
mv gibtsnicht.txt y.txt
move bild.png /leer/bild.png
mv Dokumente Ordner
ls
case rename
mv notizen.txt NOTIZEN.TXT
ls
mv Dokumente/brief.txt /brief.txt
ls
case delete
rm notizen.txt
rm notizen.txt
del Dokumente
rm /leer
cd leer
rm ../bild.png
ls
case show
cat notizen.txt
type Dokumente/brief.txt
cat gibtsnicht
cat
cat Dokumente
cat bild.png
case info
ipconfig
ipconfig x
route
route x
test
ls
case help
help
help ls
help gibtsnicht
help exit
case window
cls
reset
exit
unbekannt
LS
move
setInterrupt x
initUsageInfo
case spaces
ls Dokumente
cd Dokumente/
pwd
cd ./Alt/../Alt
pwd
case deleteInside
cd Dokumente/Alt
rm /Dokumente
pwd
ls
cd ..
pwd
rm /
ls
case sameName
mv notizen.txt notizen.txt
cp kurz.txt kurz.txt
ls
case usage
pwd x
rm
rm a b
cd a b
touch a b
mkdir a b
cp a b c
mv a b c
help type
help rm
help cp
help mv
\u0009
case paths
ls ./Dokumente
ls notizen.txt
cd Dokumente
test
ls