I am stuck at Stage #UN3 (Redirection - Append stderr). what is the problem?

[tester::#UN3] Running tests for Stage #UN3 (Redirection - Append stderr)

[tester::#UN3] [setup] export PATH=/tmp/orange/grape/blueberry:$PATH

[tester::#UN3] Running ./your_program.sh

[your-program] $ ls -1 nonexistent >> /tmp/dog/bee.md

[your-program] ls: nonexistent: No such file or directory

[tester::#UN3] ✓ Received error message

[tester::#UN3] ✓ File: /tmp/dog/bee.md is empty

[your-program] $ ls -1 nonexistent 2>> /tmp/dog/pig.md

[your-program] $ cat /tmp/dog/pig.md

[your-program] ls: nonexistent: No such file or directory

[tester::#UN3] ✓ Received redirected file content

[your-program] $ echo “James says Error” 2>> /tmp/dog/rat.md

[your-program] James says Error

[tester::#UN3] ✓ Received redirected file content

[your-program] $ cat nonexistent 2>> /tmp/dog/rat.md

[your-program] $ ls -1 nonexistent 2>> /tmp/dog/rat.md

[your-program] $ cat /tmp/dog/rat.md

[your-program] James says Error

[tester::#UN3] ^ Line does not match expected value.

[tester::#UN3] Expected: “cat: nonexistent: No such file or directory”

[tester::#UN3] Received: “James says Error”

[your-program] cat: nonexistent: No such file or directory

[your-program] ls: nonexistent: No such file or directory

[your-program] $

[tester::#UN3] Assertion failed.

[tester::#UN3] Test failed

Hey @Yeabsirashimelis, 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.

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.