diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-13 20:22:57 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-13 20:22:57 -0300 |
| commit | 0679559812674fdd9b0a9c17852ebd03f7ff2fc4 (patch) | |
| tree | c0df40a9a027fac1ebd4b539abf1aa934c20e3b1 /test/testing.sh | |
| parent | 40f9173755e9c770a6f773bc2bf00bc13fd8bec0 (diff) | |
| download | luarocks-0679559812674fdd9b0a9c17852ebd03f7ff2fc4.tar.gz luarocks-0679559812674fdd9b0a9c17852ebd03f7ff2fc4.tar.bz2 luarocks-0679559812674fdd9b0a9c17852ebd03f7ff2fc4.zip | |
Decided to step back in turn this into a warning.
`luarocks list` on an empty ~/.luarocks is a valid use case.
Diffstat (limited to 'test/testing.sh')
| -rwxr-xr-x | test/testing.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||
