[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BLOCKER] cannot single-step unit tests any more
From: |
Jim Meyering |
Subject: |
Re: [BLOCKER] cannot single-step unit tests any more |
Date: |
Sun, 16 May 2010 19:33:36 +0200 |
Bruno Haible wrote:
> Two things are wrong here:
...
> 2) The use of "$0". It is meant to denote the test-....sh filename. This
> CANNOT
> work when single-stepping, because the statements are not contained in a
> file
> but are executed interactively, one by one.
I don't see how this can cause a problem.
The only uses of $0 are in the re-exec code (which appear not to matter
when single stepping), and in diagnostics. Besides, I've fixed init.sh
not to re-exec when your current shell is adequate.
What problem does init.sh's use of $0 cause you?