Shell #EI0 (pwd builtin) passes without any changes

Looks like the check for pwd passes automatically for most languages since pwd is present as an external program (/usr/bin/pwd).

Ideas to change this:

  1. Move /usr/bin/pwd to another location for this test so code can’t rely on it
  2. Check for type /usr/bin/pwd so that users are nudged towards implementing it as a built-in

Hmm, maybe we should do both - both check for type pwd and move /usr/bin/pwd out of the way

also when doing the cd part, ~ isn’t tested enough (only checks if cd ~ works).
(don’t know if this is the right place or if I should create a new post :sweat_smile:)

This is now fixed! We check for type pwd + we remove /usr/bin/pwd when testing this stage.

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