diff options
author | Tristan Sloughter <[email protected]> | 2012-12-10 12:19:36 -0800 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2012-12-10 12:19:36 -0800 |
commit | 25483b93b6f179b29742451ac65d367ab3b7ca7e (patch) | |
tree | f1fe9d5c6ddcf6626c84b9121ce1d334d776556e /test/rclt_command_SUITE.erl | |
parent | 69e6bcb71b8ce15556621fc94874bce751b50c50 (diff) | |
parent | c3e728afb67101480d0c7b52c51bc522f08fb08f (diff) | |
download | relx-25483b93b6f179b29742451ac65d367ab3b7ca7e.tar.gz relx-25483b93b6f179b29742451ac65d367ab3b7ca7e.tar.bz2 relx-25483b93b6f179b29742451ac65d367ab3b7ca7e.zip |
Merge pull request #16 from ericbmerritt/next
default relcool.config support
Diffstat (limited to 'test/rclt_command_SUITE.erl')
-rw-r--r-- | test/rclt_command_SUITE.erl | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/test/rclt_command_SUITE.erl b/test/rclt_command_SUITE.erl index 46449e9..1c6accf 100644 --- a/test/rclt_command_SUITE.erl +++ b/test/rclt_command_SUITE.erl @@ -25,7 +25,6 @@ all/0, normal_passing_case/1, lib_fail_case/1, - output_fail_case/1, spec_parse_fail_case/1, config_fail_case/1]). @@ -42,7 +41,7 @@ end_per_suite(_Config) -> ok. all() -> - [normal_passing_case, lib_fail_case, output_fail_case, config_fail_case]. + [normal_passing_case, lib_fail_case, config_fail_case]. normal_passing_case(Config) -> DataDir = proplists:get_value(data_dir, Config), @@ -82,18 +81,6 @@ lib_fail_case(Config) -> ?assertMatch({error, {_, {not_directory, Lib2}}}, rcl_cmd_args:args2state(getopt:parse(relcool:opt_spec_list(), CmdLine))). - -output_fail_case(Config) -> - DataDir = proplists:get_value(data_dir, Config), - UnwritableDir = filename:join([DataDir, "unwritable"]), - ok = rcl_util:mkdir_p(UnwritableDir), - ok = file:change_mode(UnwritableDir, 8#555), - CanNotCreate = filename:join([UnwritableDir, "out-dir-should-not-create"]), - - CmdLine = ["-o", CanNotCreate], - ?assertMatch({error, {_, {unable_to_create_output_dir, CanNotCreate}}}, - rcl_cmd_args:args2state(getopt:parse(relcool:opt_spec_list(), CmdLine))). - spec_parse_fail_case(_Config) -> Spec = "aaeu:3333:33.22a44", CmdLine = ["-g", Spec], |