diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testing.lua | 2 | ||||
-rwxr-xr-x | test/testing.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/testing.lua b/test/testing.lua index 8d8b3af2..376d6e9a 100644 --- a/test/testing.lua +++ b/test/testing.lua | |||
@@ -112,7 +112,7 @@ local tests = { | |||
112 | fail_lint_invalid = function() return run "$luarocks lint invalid" end, | 112 | fail_lint_invalid = function() return run "$luarocks lint invalid" end, |
113 | fail_show_invalid = function() return run "$luarocks show invalid" end, | 113 | fail_show_invalid = function() return run "$luarocks show invalid" end, |
114 | fail_new_version_invalid = function() return run "$luarocks new_version invalid" end, | 114 | fail_new_version_invalid = function() return run "$luarocks new_version invalid" end, |
115 | fail_list_invalidtree = function() return run "$luarocks --tree=/some/invalid/tree list" end, | 115 | test_list_invalidtree = function() return run "$luarocks --tree=/some/invalid/tree list" end, |
116 | fail_inexistent_dir = function() | 116 | fail_inexistent_dir = function() |
117 | -- Unix only? | 117 | -- Unix only? |
118 | return run "mkdir idontexist; cd idontexist; rmdir ../idontexist; $luarocks; err=$?; cd ..; return $err" | 118 | return run "mkdir idontexist; cd idontexist; rmdir ../idontexist; $luarocks; err=$?; cd ..; return $err" |
diff --git a/test/testing.sh b/test/testing.sh index af2ec45e..b75b51d7 100755 --- a/test/testing.sh +++ b/test/testing.sh | |||
@@ -367,7 +367,7 @@ fail_lint_invalid() { $luarocks lint invalid; } | |||
367 | fail_show_invalid() { $luarocks show invalid; } | 367 | fail_show_invalid() { $luarocks show invalid; } |
368 | fail_new_version_invalid() { $luarocks new_version invalid; } | 368 | fail_new_version_invalid() { $luarocks new_version invalid; } |
369 | 369 | ||
370 | fail_list_invalidtree() { $luarocks --tree=/some/invalid/tree list; } | 370 | test_list_invalidtree() { $luarocks --tree=/some/invalid/tree list; } |
371 | 371 | ||
372 | fail_inexistent_dir() { mkdir idontexist; cd idontexist; rmdir ../idontexist; $luarocks; err=$?; cd ..; return $err; } | 372 | fail_inexistent_dir() { mkdir idontexist; cd idontexist; rmdir ../idontexist; $luarocks; err=$?; cd ..; return $err; } |
373 | 373 | ||