mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2025-12-18 03:55:13 +02:00
Fix tests: match $CRAMTMP more losely (#78)
Fixes https://github.com/Tarrasch/zsh-autoenv/issues/76.
This commit is contained in:
@@ -46,41 +46,41 @@ Now adding some auth pair.
|
||||
$ echo first > first
|
||||
$ _autoenv_authorize first
|
||||
$ cat $AUTOENV_AUTH_FILE
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
|
||||
And a second one.
|
||||
|
||||
$ echo second > second
|
||||
$ _autoenv_authorize second
|
||||
$ cat $AUTOENV_AUTH_FILE
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
|
||||
And a third.
|
||||
|
||||
$ echo third > third
|
||||
$ _autoenv_authorize third
|
||||
$ cat $AUTOENV_AUTH_FILE
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/third:451243482.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/third:451243482.6:2 (glob)
|
||||
|
||||
Re-add the second one, with the same hash.
|
||||
|
||||
$ _autoenv_authorize second
|
||||
$ cat $AUTOENV_AUTH_FILE
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/third:451243482.6:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/first:2715464726.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/third:451243482.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
|
||||
Re-add the first one, with a new hash.
|
||||
|
||||
$ echo one more line >> first
|
||||
$ _autoenv_authorize first
|
||||
$ cat $AUTOENV_AUTH_FILE
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/third:451243482.6:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
:/tmp/cramtests-*/_autoenv_utils.t/first:3620404822.20:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/third:451243482.6:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/second:594940475.7:2 (glob)
|
||||
:/*/cramtests-*/_autoenv_utils.t/first:3620404822.20:2 (glob)
|
||||
}}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user