aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-06-26 22:07:49 -0300
committerHisham Muhammad <hisham@gobolinux.org>2014-06-26 22:07:49 -0300
commit3abde0dc4f1c3a246026d01e871ca9d4c165c57d (patch)
tree0070570fdff9de1e014777bbcbb92cc0dc008080 /test
parent570e29f921cf37d01eaf2af8d0e61f794917aed6 (diff)
downloadluarocks-3abde0dc4f1c3a246026d01e871ca9d4c165c57d.tar.gz
luarocks-3abde0dc4f1c3a246026d01e871ca9d4c165c57d.tar.bz2
luarocks-3abde0dc4f1c3a246026d01e871ca9d4c165c57d.zip
Turn failure into success in test.
Oh, excellent, with the new fallback code in fs.download, this doesn't fail anymore!
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testing.sh b/test/testing.sh
index e3aee55f..b0d95c35 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -348,7 +348,7 @@ test_build_withpatch() { need_luasocket; $luarocks build luadoc; }
348test_build_diffversion() { $luarocks build luacov ${version_luacov}; } 348test_build_diffversion() { $luarocks build luacov ${version_luacov}; }
349test_build_command() { $luarocks build stdlib; } 349test_build_command() { $luarocks build stdlib; }
350test_build_install_bin() { $luarocks build luarepl; } 350test_build_install_bin() { $luarocks build luarepl; }
351fail_build_nohttps() { need_luasocket; $luarocks download --rockspec validate-args ${verrev_validate_args} && $luarocks build ./validate-args-${version_validate_args}-1.rockspec && rm ./validate-args-${version_validate_args}-1.rockspec; } 351test_build_nohttps() { need_luasocket; $luarocks download --rockspec validate-args ${verrev_validate_args} && $luarocks build ./validate-args-${version_validate_args}-1.rockspec && rm ./validate-args-${version_validate_args}-1.rockspec; }
352test_build_https() { need_luasocket; $luarocks download --rockspec validate-args ${verrev_validate_args} && $luarocks install $luasec && $luarocks build ./validate-args-${verrev_validate_args}.rockspec && rm ./validate-args-${verrev_validate_args}.rockspec; } 352test_build_https() { need_luasocket; $luarocks download --rockspec validate-args ${verrev_validate_args} && $luarocks install $luasec && $luarocks build ./validate-args-${verrev_validate_args}.rockspec && rm ./validate-args-${verrev_validate_args}.rockspec; }
353test_build_supported_platforms() { $luarocks build lpty; } 353test_build_supported_platforms() { $luarocks build lpty; }
354fail_build_missing_external() { $luarocks build "$testing_dir/testfiles/missing_external-0.1-1.rockspec" INEXISTENT_INCDIR="/invalid/dir"; } 354fail_build_missing_external() { $luarocks build "$testing_dir/testfiles/missing_external-0.1-1.rockspec" INEXISTENT_INCDIR="/invalid/dir"; }