Increase the code path coverage of test case space-in-work-dir by running one command from a subdirectory. --- test/space-in-work-dir.test | 5 +++++ 1 file changed, 5 insertions(+)
--- quilt.orig/test/space-in-work-dir.test 2017-05-02 15:02:55.988641623 +0200 +++ quilt/test/space-in-work-dir.test 2017-10-25 15:47:45.915164868 +0200 @@ -5,6 +5,7 @@ $ mkdir project $ cd project $ mkdir patches +$ mkdir subdir $ echo old > a $ quilt new 1.patch @@ -26,12 +27,16 @@ $ cat patches/1.patch > -old > +new +# Running a command when not at the root of the project tests additional +# code paths +$ cd subdir $ quilt diff --no-index > --- project.orig/a > +++ project/a > @@ -1 +1 @@ > -old > +new +$ cd .. $ quilt pop > Removing patch patches/1.patch -- Jean Delvare SUSE L3 Support _______________________________________________ Quilt-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/quilt-dev
