diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-20 13:43:44 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-23 20:47:09 -0300 |
commit | 2c4ff5240bf298fec07749f5984de2f08b8736ec (patch) | |
tree | f0b4dfec401fa1a132fc5786467fb8683d17bdcb /spec/quick | |
parent | 79bd1739d8ca004ddd0b2fa5e24da4a6f4b776fa (diff) | |
download | luarocks-2c4ff5240bf298fec07749f5984de2f08b8736ec.tar.gz luarocks-2c4ff5240bf298fec07749f5984de2f08b8736ec.tar.bz2 luarocks-2c4ff5240bf298fec07749f5984de2f08b8736ec.zip |
fix: better normalization for paths and slashes
Fixes #1195.
Diffstat (limited to 'spec/quick')
-rw-r--r-- | spec/quick/config.q | 4 | ||||
-rw-r--r-- | spec/quick/list.q | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/quick/config.q b/spec/quick/config.q index ec338f98..3150a9ce 100644 --- a/spec/quick/config.q +++ b/spec/quick/config.q | |||
@@ -12,6 +12,6 @@ RUN: luarocks config --system-config | |||
12 | 12 | ||
13 | STDOUT: | 13 | STDOUT: |
14 | -------------------------------------------------------------------------------- | 14 | -------------------------------------------------------------------------------- |
15 | %{testing_lrprefix}/etc/luarocks/config-%{LUA_VERSION}.lua | 15 | %{path(%{testing_lrprefix}/etc/luarocks/config-%{LUA_VERSION}.lua)} |
16 | -------------------------------------------------------------------------------- | 16 | -------------------------------------------------------------------------------- |
17 | #TODO: ^^^ %{path()} | 17 | |
diff --git a/spec/quick/list.q b/spec/quick/list.q index 7cbdee43..fbb3f557 100644 --- a/spec/quick/list.q +++ b/spec/quick/list.q | |||
@@ -5,6 +5,6 @@ RUN: luarocks --tree=%{path(/some/invalid/tree)} list | |||
5 | 5 | ||
6 | STDOUT: | 6 | STDOUT: |
7 | -------------------------------------------------------------------------------- | 7 | -------------------------------------------------------------------------------- |
8 | Rocks installed for Lua %{lua_version} in /some/invalid/tree | 8 | Rocks installed for Lua %{lua_version} in %{path(/some/invalid/tree)} |
9 | -------------------------------------------------------------------------------- | 9 | -------------------------------------------------------------------------------- |
10 | #TODO: ^^^ %{path()} | 10 | |