aboutsummaryrefslogtreecommitdiff
path: root/test/testing.sh
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-04 16:14:52 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-04 16:14:52 -0300
commit5f3d39033ecf74a6e959053548cba436ff9bfb24 (patch)
treebb1c686426d3092b370ab1821f6e03020032aec5 /test/testing.sh
parent46f2d252c42d5040a472cb96732b16a19d83efd3 (diff)
downloadluarocks-5f3d39033ecf74a6e959053548cba436ff9bfb24.tar.gz
luarocks-5f3d39033ecf74a6e959053548cba436ff9bfb24.tar.bz2
luarocks-5f3d39033ecf74a6e959053548cba436ff9bfb24.zip
Don't crash when asking for help on invalid cmd.
Diffstat (limited to 'test/testing.sh')
-rwxr-xr-xtest/testing.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh
index 4b159892..5018abe0 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -365,6 +365,7 @@ test_download_all() { $luarocks download --all validate-args && rm validate-args
365test_download_rockspecversion() { $luarocks download --rockspec validate-args ${verrev_validate_args} && rm validate-args-*; } 365test_download_rockspecversion() { $luarocks download --rockspec validate-args ${verrev_validate_args} && rm validate-args-*; }
366 366
367test_help() { $luarocks help; } 367test_help() { $luarocks help; }
368fail_help_invalid() { $luarocks help invalid; }
368 369
369test_install_binaryrock() { $luarocks build --pack-binary-rock cprint && $luarocks install ./cprint-${verrev_cprint}.${platform}.rock && rm ./cprint-${verrev_cprint}.${platform}.rock; } 370test_install_binaryrock() { $luarocks build --pack-binary-rock cprint && $luarocks install ./cprint-${verrev_cprint}.${platform}.rock && rm ./cprint-${verrev_cprint}.${platform}.rock; }
370test_install_with_bin() { $luarocks install wsapi; } 371test_install_with_bin() { $luarocks install wsapi; }