Skip to content

Test for shell's successful exit is implicit and confusing (was: Weird issue with tests?) #12

@jeffmc

Description

@jeffmc
me@DebianXfce23F:~/projects/lsh-shell/build-your-own-shell$ ./validate ../lsh
stage_1: 01-fork-exec.t 
→ /bin/echo foo bar⏎
↵ foo bar
→ tr a-z n-za-m⏎
→ foo bar baz⏎
↵ sbb one onm
→ ^D
→ ./helpers/echo-rot13 foo bar⏎
↵ sbb one
→ ./helpers/echo-exit ./helpers/successful-exit-status⏎
↵ 0

---------------------------
You still need to do stage_1
Keep working!

Unsure where I am actually going wrong here, I think I poorly understand your "validate".

I've attached my C source code if you'd like to look through any of it to detect where I've gone wrong.
lsh.c.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions