Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Weird test environment behavior
- X-seq: zsh-workers 41150
- From: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Weird test environment behavior
- Date: Thu, 25 May 2017 06:52:01 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
$zredis_tied holds parameters tied to redis database. I have a test:
echo First $zredis_tied ${#zredis_tied}
zrtie -d db/redis -f $db1 dbase
echo $zredis_tied ${#zredis_tied}
...
And it outputs:
-First 0
-dbase 1
+First dbase 1
+dbase dbase 2
So looks like $zredis_tied is initially set. This is really weird, I guess make TESTNUM=... starts separate Zsh instance for each test. So why $redis_tied isn't empty?
--
Sebastian Gniazdowski
psprint /at/ zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author