diff --git a/testsuite/tests-to-run/test57.sh b/testsuite/tests-to-run/test57.sh index 4d83bb65..84be02c4 100644 --- a/testsuite/tests-to-run/test57.sh +++ b/testsuite/tests-to-run/test57.sh @@ -8,6 +8,14 @@ parallel -k echo {//} {} ::: a.jpg a/b.jpg a/b/c.jpg parallel -k echo {//} {} ::: /a.jpg /a/b.jpg /a/b/c.jpg parallel -k echo {//} {} ::: ./a.jpg ./a/b.jpg ./a/b/c.jpg +echo '### Test {1//}' +parallel -k echo {1//} {} ::: a a/b a/b/c +parallel -k echo {1//} {} ::: /a /a/b /a/b/c +parallel -k echo {1//} {} ::: ./a ./a/b ./a/b/c +parallel -k echo {1//} {} ::: a.jpg a/b.jpg a/b/c.jpg +parallel -k echo {1//} {} ::: /a.jpg /a/b.jpg /a/b/c.jpg +parallel -k echo {1//} {} ::: ./a.jpg ./a/b.jpg ./a/b/c.jpg + echo '### Test --dnr' parallel --dnr II -k echo II {} ::: a a/b a/b/c diff --git a/testsuite/wanted-results/test57 b/testsuite/wanted-results/test57 index 18111583..f66c232b 100644 --- a/testsuite/wanted-results/test57 +++ b/testsuite/wanted-results/test57 @@ -17,6 +17,25 @@ a/b a/b/c.jpg . ./a.jpg ./a ./a/b.jpg ./a/b ./a/b/c.jpg +### Test {1//} +. a +a a/b +a/b a/b/c +/ /a +/a /a/b +/a/b /a/b/c +. ./a +./a ./a/b +./a/b ./a/b/c +. a.jpg +a a/b.jpg +a/b a/b/c.jpg +/ /a.jpg +/a /a/b.jpg +/a/b /a/b/c.jpg +. ./a.jpg +./a ./a/b.jpg +./a/b ./a/b/c.jpg ### Test --dnr . a a a/b