Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Weird test environment behavior



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