diff options
Diffstat (limited to 'tests/ci/ci-dir.test')
-rw-r--r-- | tests/ci/ci-dir.test | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/tests/ci/ci-dir.test b/tests/ci/ci-dir.test index 0e98f3a..11de2f0 100644 --- a/tests/ci/ci-dir.test +++ b/tests/ci/ci-dir.test @@ -12,7 +12,7 @@ %\[.+\] \[brep:error\] \[ref \] \[brep-ci-dir\]: usage: .+brep-ci-dir <dir>% EOE - : not-exist + : dir-not-exist : $* $~/dir 2>>~%EOE% != 0 %\[.+\] \[brep:error\] \[ref dir\] \[brep-ci-dir\]: '.+dir' does not exist or is not a directory% @@ -74,4 +74,21 @@ reference: $request_id EOO } + + : unable-fetch-repo + : + { + $clone_root_data_clean; + + sed -i -e "s%^\(repository:\) .+\$%\\1 http://example.com/repo.git%" \ + $data_dir/request.manifest; + + $* >>~"%EOO%" + : 1 + status: 422 + %message: unable to fetch repository information .+% + %.* + reference: $request_id + EOO + } } |