Stuck on stage #MG5
Program works perfectly on my local terminal.
codecrafters-shell-c$ PATH="/tmp/baz:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ./your_program.sh
$ type cat
cat is /usr/bin/cat
$ type ls
ls is /usr/bin/ls
$ exit
But when I test remotely, my program apparently does not print anything, and it fails.
[tester::#MG5] Running tests for Stage #MG5 (The type builtin: executable files)
[tester::#MG5] [setup] export PATH=/tmp/bar:$PATH
[tester::#MG5] [setup] Available executables:
[tester::#MG5] [setup] - my_exe
[tester::#MG5] Running ./your_program.sh
[your-program] $ type cat
[tester::#MG5] Output does not match expected value.
[tester::#MG5] Expected: "cat is /bin/cat"
[tester::#MG5] Received: ""
[tester::#MG5] Assertion failed.
[tester::#MG5] Test failed
This is my repo:
codecrafters-shell-c