From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: Test suite failures on static build (was: 5.0.2-test-2 is available)
Date: Mon, 02 Dec 2013 16:28:27 +0000 [thread overview]
Message-ID: <20131202162827.2f29afad@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <20131202161616.GS13790@sym.noone.org>
On Mon, 02 Dec 2013 17:16:17 +0100
Axel Beckert <abe@deuxchevaux.org> wrote:
> On Mon, Dec 02, 2013 at 04:01:33PM +0000, Peter Stephenson wrote:
> > On Mon, 02 Dec 2013 16:51:19 +0100
> > Axel Beckert <abe@deuxchevaux.org> wrote:
> > > JFTR: Probably not that important, but I get the following test-suite
> > > failures when doing a static build:
> > > Error output:
> > > (eval):pushd:5: no such file or directory: /home/abe/zsh/zsh/obj-static/testhome
> > > (eval):pushd:9: no such file or directory: /home/abe/zsh/zsh/obj-static/testhome
> > > (eval):popd:10: directory stack empty
> > > Was testing: PUSHD_TO_HOME option
> >
> > Could the exported value of HOME be funny?
>
> I don't think so:
Does this patch help anyway? It leaves less to chance.
It won't help with the first problem, which could also be to do with
directory permissions or similar.
(Kind of me to make all the glob tests here rather brittle.)
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index e00eb0e..dc3ca4b 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -83,12 +83,13 @@
%prep
mkdir options.tmp && cd options.tmp
- mkdir tmpcd
+ mkdir tmpcd homedir
touch tmpfile1 tmpfile2
mydir=$PWD
mydirt=`print -P %~`
+ mydirhome=`export HOME=$mydir/homedir; print -P %~`
catpath=$(which cat)
lspath==ls
@@ -513,10 +514,10 @@
print *(#q:s/#(#b)tmp(*e)/'scrunchy${match[1]}'/)
unsetopt histsubstpattern
0:HIST_SUBST_PATTERN option
->TINGcd TINGfile1 TINGfile2
+>TINGcd TINGfile1 TINGfile2 homedir
>THUMPcd THUMPfile1 THUMPfile2
>one.c Two.X Three.X
->scrunchyfile1 scrunchyfile2 tmpcd
+>homedir scrunchyfile1 scrunchyfile2 tmpcd
setopt ignorebraces
echo X{a,b}Y
@@ -853,6 +854,7 @@
# Do you have any idea how dull this is?
+ (export HOME=$mydir/homedir
pushd $mydir/tmpcd
pushd
dirs
@@ -863,11 +865,11 @@
popd
pushd
popd
- dirs
+ dirs)
0q:PUSHD_TO_HOME option
->$mydirt $mydirt/tmpcd
->~ $mydirt $mydirt/tmpcd
->$mydirt
+>$mydirhome $mydirhome/tmpcd
+>~ $mydirhome $mydirhome/tmpcd
+>$mydirhome
array=(one two three four)
setopt rcexpandparam
pws
next prev parent reply other threads:[~2013-12-02 16:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20131201194653.7a98a4a4@pws-pc.ntlworld.com>
[not found] ` <20131202151557.1636@binki>
2013-12-02 16:08 ` 5.0.2-test-2 is available Peter Stephenson
2013-12-02 16:36 ` Bart Schaefer
2013-12-02 16:51 ` Peter Stephenson
2013-12-02 17:31 ` Bart Schaefer
2013-12-02 17:40 ` Peter Stephenson
2013-12-08 20:22 ` Peter Stephenson
2013-12-08 21:36 ` Bart Schaefer
2013-12-10 3:21 ` 5.0.2-test-3, arithmetic on pointer to void pda
2013-12-10 6:27 ` Bart Schaefer
2013-12-02 18:08 ` 5.0.2-test-2 is available Bart Schaefer
[not found] ` <20131202155119.GR13790@sym.noone.org>
[not found] ` <20131202160133.7d77d7be@pwslap01u.europe.root.pri>
2013-12-02 16:16 ` Test suite failures on static build (was: 5.0.2-test-2 is available) Axel Beckert
2013-12-02 16:28 ` Peter Stephenson [this message]
2013-12-02 16:43 ` Bart Schaefer
2013-12-02 16:48 ` Axel Beckert
2013-12-02 16:57 ` [seems solved] " Axel Beckert
2013-12-02 17:20 ` One test suite failure left on static build (after $HOME has been fixed) Axel Beckert
2013-12-02 17:49 ` Bart Schaefer
[not found] ` <20131202151502.GP13790@sym.noone.org>
2013-12-02 16:28 ` Test suite failures in 5.0.2-test-1 _and_ 5.0.2-test-3 on automatic build (was: Re: 5.0.2-test-2 is available) Axel Beckert
2013-12-02 17:22 ` Bart Schaefer
2013-12-02 18:25 ` Axel Beckert
2013-12-02 18:29 ` Bart Schaefer
2013-12-02 18:34 ` Bart Schaefer
2013-12-03 8:15 ` [SOLVED] " Axel Beckert
[not found] ` <CAJ1KOAj6_KJL59OM_03JhzFLzSJvw_-N8zAeiv94kh7PpNdN0Q@mail.gmail.com>
[not found] ` <CAJ1KOAjJumPnzGWT+sg6-A34Aisp_+PfaCZkP3P8-LDpM7YJhg@mail.gmail.com>
2013-12-09 10:12 ` 5.0.2-test-2 is available Peter Stephenson
2013-12-09 10:16 ` İsmail Dönmez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131202162827.2f29afad@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).