[PATCH v2 1/2] selftests: run tests on nommu architecture

Mark Brown broonie at kernel.org
Thu Aug 27 05:15:05 PDT 2026


On Thu, Aug 27, 2026 at 05:36:59PM +0900, Hajime Tazaki wrote:
> Lorenzo Stoakes (ARM) wrote:

> > >  		esac
> > > -		cd - >/dev/null
> > > +		cd "$OLDDIR" >/dev/null

> > Hmm, why are you changing this bit?

> on nommu we cannot use /bin/bash (i.e., no fork(2) so, we use
> /bin/hash, a busybox-offered shell with vfork.
> with this `cd -` (standards specified) isn't implemented due to slim
> requirement of that shell (I suppose, miserable...).

> thus this workaround.

It'd probably be good to have this as a separate commit with a changelog
explaining what's going on, it'll make review easier if nothing else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-um/attachments/20260827/fe71d6ac/attachment.sig>


More information about the linux-um mailing list