Stage MG5 and NI6 are contradictory. MG5 uses common shell command names to search in provided path and expects a different response than a shell built-in. However, in NI6 one of these commands (cat) ends up becoming a shell built-in. Ideally, ‘is a shell built in’ should be the expected type command response for cat, but the earlier MG5 tests expect it to be different (cat is /path/to/cat).
It doesn’t but it is also not clearly mentioned to treat it as an executable. I realized that in subsequent stages (which I completed just now) but initially assumed it to be a new command to support and read the files provided in its arguments manually.
[tester::#MG5] Running tests for Stage #MG5 (The type builtin: executable files)
[tester::#MG5] Running ./your_program.sh
[your-program] $ type cat
[your-program] cat is a shell builtin
[tester::#MG5] Output does not match expected value.
[tester::#MG5] Expected: “cat is /bin/cat”
[tester::#MG5] Received: “cat is a shell builtin”
[your-program] $
[tester::#MG5] Assertion failed.
[tester::#MG5] Test failed
Hi @AryanJindal7, looks like you’ve got past this stage — do you happen to remember what was wrong? Would love to see if we can improve the tester / instructions.