On Mon, Jul 31, 2017 at 08:33:39PM -0400, Alain Toussaint wrote:
> manually running the command:
> 
> exec tests/runtests
> 
> gives out the correct result:
> 
> Expat version: expat_2.2.2
> 100%: Checks: 98, Failed: 0
> 
> But for some odd circumstance, this booted me out of the chroot from chapter 
> 6.
> 
> Running: /bin/bash -e tests/runtests got the same result but I did
> stay in the chroot.

That's expected, exec replaces the current shell instead of spawning a
new process. Makes sense in a script like run.sh, not so much in an
interactive shell.

- Kuba
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to