zsh-workers
 help / color / mirror / code / Atom feed
* Re: first effort with git
       [not found] ` <20141112103822.1334eb39@pwslap01u.europe.root.pri>
@ 2014-11-12 17:06   ` Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2014-11-12 17:06 UTC (permalink / raw)
  To: zsh-workers

[> workers]

On Nov 12, 10:38am, Peter Stephenson wrote:
}
} I suppose the test could be a bit more sophisticated about this: it just
} needs to prove you got the command line prompt eventually.

I suspect that root's bashrc was somewhere in the execution chain, it
tends to export PS1 into the environment for some mysterious reason.

Which raises the tangential question:  Would it be a good idea for
"make check" to refuse to run as root?

Meanwhile ...

diff --git a/Test/B06fc.ztst b/Test/B06fc.ztst
index 65ee43d..922b001 100644
--- a/Test/B06fc.ztst
+++ b/Test/B06fc.ztst
@@ -10,16 +10,16 @@
 1:Checking that fc -l foo doesn't core dump when history is empty
 ?./fcl:fc:1: event not found: foo
 
-  $ZTST_testdir/../Src/zsh +Z -fsi <<< $'fc -p /dev/null 0 0\n:'
+  PS1='%% ' $ZTST_testdir/../Src/zsh +Z -fsi <<< $'fc -p /dev/null 0 0\n:'
 0:Checking that fc -p doesn't core dump when history size is zero
 *?*%*
 
-  $ZTST_testdir/../Src/zsh +Z -fsi <<< 'fc -p /dev/null a 0'
+  PS1='%% ' $ZTST_testdir/../Src/zsh +Z -fsi <<< 'fc -p /dev/null a 0'
 1:Checking that fc -p rejects non-integer history size
 *?*% fc: HISTSIZE must be an integer
 *?*%*
 
-  $ZTST_testdir/../Src/zsh +Z -fsi <<< 'fc -p /dev/null 0 a'
+  PS1='%% ' $ZTST_testdir/../Src/zsh +Z -fsi <<< 'fc -p /dev/null 0 a'
 1:Checking that fc -p rejects non-integer history save size
 *?*% fc: SAVEHIST must be an integer
 *?*%*


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-12 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5462D611.3090406@eastlink.ca>
     [not found] ` <20141112103822.1334eb39@pwslap01u.europe.root.pri>
2014-11-12 17:06   ` first effort with git Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).