diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2016-07-15 10:44:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 10:44:46 -0300 |
commit | 5f5b26206068ba597091bb6fc22d8d63c0fef408 (patch) | |
tree | 46f958aa7efb4d6b31612178026228ba49e612f5 /test | |
parent | 6b38323d10743c83e377d9be2fa734a3a3d5a300 (diff) | |
parent | f2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa (diff) | |
download | luarocks-5f5b26206068ba597091bb6fc22d8d63c0fef408.tar.gz luarocks-5f5b26206068ba597091bb6fc22d8d63c0fef408.tar.bz2 luarocks-5f5b26206068ba597091bb6fc22d8d63c0fef408.zip |
Merge pull request #577 from keplerproject/core-modules
Core modules reorganization.
Diffstat (limited to 'test')
-rwxr-xr-x | test/testing.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/testing.sh b/test/testing.sh index e4b5d8c2..0dd34bf1 100755 --- a/test/testing.sh +++ b/test/testing.sh | |||
@@ -577,7 +577,6 @@ fail_config_system_config() { rm -f "$testing_lrprefix/etc/luarocks/config.lua"; | |||
577 | test_config_system_config() { mkdir -p "$testing_lrprefix/etc/luarocks"; touch "$testing_lrprefix/etc/luarocks/config.lua"; $luarocks config --system-config; err=$?; rm -f "$testing_lrprefix/etc/luarocks/config.lua"; return $err; } | 577 | test_config_system_config() { mkdir -p "$testing_lrprefix/etc/luarocks"; touch "$testing_lrprefix/etc/luarocks/config.lua"; $luarocks config --system-config; err=$?; rm -f "$testing_lrprefix/etc/luarocks/config.lua"; return $err; } |
578 | fail_config_system_config_invalid() { mkdir -p "$testing_lrprefix/etc/luarocks"; echo "if if if" > "$testing_lrprefix/etc/luarocks/config.lua"; $luarocks config --system-config; err=$?; rm -f "$testing_lrprefix/etc/luarocks/config.lua"; return $err; } | 578 | fail_config_system_config_invalid() { mkdir -p "$testing_lrprefix/etc/luarocks"; echo "if if if" > "$testing_lrprefix/etc/luarocks/config.lua"; $luarocks config --system-config; err=$?; rm -f "$testing_lrprefix/etc/luarocks/config.lua"; return $err; } |
579 | test_config_user_config() { $luarocks config --user-config; } | 579 | test_config_user_config() { $luarocks config --user-config; } |
580 | fail_config_user_config() { LUAROCKS_CONFIG="/missing_file.lua" $luarocks config --user-config; } | ||
581 | test_config_rock_trees() { $luarocks config --rock-trees; } | 580 | test_config_rock_trees() { $luarocks config --rock-trees; } |
582 | test_config_help() { $luarocks help config; } | 581 | test_config_help() { $luarocks help config; } |
583 | 582 | ||