From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10718 invoked by alias); 2 Dec 2013 16:28:37 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32072 Received: (qmail 20493 invoked from network); 2 Dec 2013 16:28:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7f706d0000017c2-cb-529cb52c3d46 Date: Mon, 02 Dec 2013 16:28:27 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Test suite failures on static build (was: 5.0.2-test-2 is available) Message-id: <20131202162827.2f29afad@pwslap01u.europe.root.pri> In-reply-to: <20131202161616.GS13790@sym.noone.org> References: <20131201194653.7a98a4a4@pws-pc.ntlworld.com> <20131202155119.GR13790@sym.noone.org> <20131202160133.7d77d7be@pwslap01u.europe.root.pri> <20131202161616.GS13790@sym.noone.org> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmluLIzCtJLcpLzFFi42I5/e/4VV2drXOCDPbfNLQ42PyQyYHRY9XB D0wBjFFcNimpOZllqUX6dglcGQt//2IrWC5YcXHTdqYGxhu8XYycHBICJhI3Nh5lgrDFJC7c W8/WxcjFISSwlFHi/Ns3LCAJIYHlTBILbrl3MXJwsAioSnzu1QEJswkYSkzdNJsRxBYREJc4 u/Y8C0iJsECwxNUVZiBhXgF7id9LWsCmcAoYS3Rc+MwEMf4go8Tyi1fZQRL8AvoSV/9+grrB XmLmlTOMEM2CEj8m3wNrZhbQkti8rYkVwpaX2LzmLfMERoFZSMpmISmbhaRsASPzKkbR1NLk guKk9FwjveLE3OLSvHS95PzcTYyQAPy6g3HpMatDjAIcjEo8vBXHZgcJsSaWFVfmHmKU4GBW EuG1WT0nSIg3JbGyKrUoP76oNCe1+BAjEwenVAPjtH02W3n2V0woNO1L7evXcKqamJhWc/5P fELygjsXA76b5k111Kx+/UgvSaCffbJ2OteFy8ZnJBdfD/20oUbX6bZjXm/6pZPi7/fslXab wTO/W2Gpb8kiG9ECH60Qrnkv1wnPMgxe43D375sZZsXRMfxKLK0qQv5LL1hoPJm3c0ngn/85 SmuVWIozEg21mIuKEwFPLFWyHgIAAA== On Mon, 02 Dec 2013 17:16:17 +0100 Axel Beckert 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 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