Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Run each standalone Lua version once
A plain lua is usually one of the versioned names again, as lua and
lua5.5 are here, so every 5.5 check ran twice, while names such as
lua54 and lua-5.4 were never looked for. A test now names the version
that ran, since "under lua" did not say which one it was.
Diffstat (limited to 'tests/t0504-email-avatar.sh')
| -rwxr-xr-x | tests/t0504-email-avatar.sh | 6 |
1 file changed, 3 insertions, 3 deletions
diff --git a/tests/t0504-email-avatar.sh b/tests/t0504-email-avatar.sh index b584f3e..10b9fca 100755 --- a/tests/t0504-email-avatar.sh +++ b/tests/t0504-email-avatar.sh @@ -18,16 +18,16 @@ for lua in $interpreters do for script in email-gravatar email-libravatar do - test_expect_success "$script checks under $lua" " + test_expect_success "$script checks under $(lua_version "$lua")" " '$lua' '$EXT_TEST_DIRECTORY/test-email-avatar.lua' '$EXTENSIONS_DIRECTORY/$script.lua' stub " - test_expect_success "$script checks without luaossl under $lua" " + test_expect_success "$script checks without luaossl under $(lua_version "$lua")" " '$lua' '$EXT_TEST_DIRECTORY/test-email-avatar.lua' '$EXTENSIONS_DIRECTORY/$script.lua' missing " if "$lua" -e "require([[openssl.digest]])" >/dev/null 2>&1 then - test_expect_success "$script checks with real luaossl under $lua" " + test_expect_success "$script checks with real luaossl under $(lua_version "$lua")" " '$lua' '$EXT_TEST_DIRECTORY/test-email-avatar.lua' '$EXTENSIONS_DIRECTORY/$script.lua' real " fi |
