diff options
Diffstat (limited to 'tests/submit/submit-git.testscript')
-rw-r--r-- | tests/submit/submit-git.testscript | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/submit/submit-git.testscript b/tests/submit/submit-git.testscript index e99c1d5..a0d76f5 100644 --- a/tests/submit/submit-git.testscript +++ b/tests/submit/submit-git.testscript @@ -82,6 +82,14 @@ pkg_ctl="$prj_ctl/hello.git" $* "$root_tgt_url" ref dir 2>>~%EOE% != 0 %\[.+\] \[brep:error\] \[ref dir\] \[brep-submit-git\]: 'dir' does not exist or is not a directory% EOE + + : slash-stripped + : + : Test that the trailing slash is stripped from the data directory path. + : + $* "$root_tgt_url" dir/ 2>>~%EOE% != 0 + %\[.+\] \[brep:error\] \[ref dir\] \[brep-submit-git\]: 'dir' does not exist or is not a directory% + EOE } : success |