There's a problem with a test for Build your own shell/Backslash within single quotes #le5

The test generated two random files with the same name, so the first write was lost.

remote: [tester::#NI6] Writing file “/tmp/bar/f 87” with content “mango strawberry.”
remote: [tester::#NI6] Writing file “/tmp/bar/f 15” with content “blueberry raspberry.”
remote: [tester::#NI6] Writing file “/tmp/bar/f 15” with content “apple pear.”
remote: [your-program] $
remote: [tester::#NI6] > cat ‘/tmp/bar/f 87’ ‘/tmp/bar/f 15’ ‘/tmp/bar/f 15’
remote: [your-program] mango strawberry.apple pear.
remote: [tester::#NI6] Expected: “mango strawberry.blueberry raspberry.apple pear.”
remote: [tester::#NI6] Received: “mango strawberry.apple pear.”
remote: [your-program] apple pear.
remote: [your-program] $
remote: [tester::#NI6] Received output does not match expectation.

Hi @eatubert, thanks for highlighting the issue! We’ll fix it and get back to you as soon as possible.

We’ve fixed the file name collision issue in this PR. Thanks again for highlighting it! @eatubert

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