mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-30 01:47:56 +00:00
268 lines
3.4 KiB
Plaintext
268 lines
3.4 KiB
Plaintext
### bug #38354: -J profile_name should read from `pwd`/profile_name before ~/.parallel/profile_name
|
|
echo from ./local_test_profile echo 1
|
|
### Test --delay
|
|
More than 3.3 secs: OK
|
|
### test --sshdelay
|
|
OK
|
|
### bug #38299: --resume-failed -k
|
|
job1 val 0
|
|
job2 val 1
|
|
job3 val 2
|
|
job4 val 3
|
|
job5 val 0
|
|
job6 val 1
|
|
try 2. Gives failing - not 0
|
|
job2 val 1
|
|
job3 val 2
|
|
job4 val 3
|
|
job6 val 1
|
|
with exit 0
|
|
job2 val 1
|
|
job3 val 2
|
|
job4 val 3
|
|
job6 val 1
|
|
try 2 again. Gives empty
|
|
### --resume -k
|
|
job0id
|
|
job1id
|
|
job2id
|
|
job3id
|
|
job0id
|
|
job5id
|
|
try 2 = nothing
|
|
two extra
|
|
job6id
|
|
job7id
|
|
bug #37694: Empty string argument skipped when using --quote
|
|
3
|
|
### Test -k 5
|
|
### Test -k 3
|
|
### Test -k 4
|
|
### Test -k 2
|
|
### Test -k 1
|
|
### Computing length of command line
|
|
1 2
|
|
11 1
|
|
12 2
|
|
11 3
|
|
a_b_c_{4}
|
|
a_b_c_d
|
|
{4}
|
|
### test08
|
|
b
|
|
d
|
|
1
|
|
10
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
1
|
|
10
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
1
|
|
10
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
bug #37956: --colsep does not default to '\t' as specified in the man page.
|
|
one 1
|
|
### Test --tollef
|
|
parallel: Error: --tollef has been retired. Use -u -q --arg-sep -- and --load for -l.
|
|
parallel: Error: -B has been retired. Use --bf.
|
|
parallel: Error: -H has been retired. Use --halt.
|
|
parallel: Error: -T has been retired. Use --tty.
|
|
parallel: Error: -U has been retired. Use --er.
|
|
parallel: Error: -W has been retired. Use --wd.
|
|
parallel: Error: -Y has been retired. Use --shebang.
|
|
parallel: Error: -g has been retired. Use --group.
|
|
### Test --tollef --gnu
|
|
parallel: Error: -g has been retired. Use --group.
|
|
parallel: Error: -B has been retired. Use --bf.
|
|
parallel: Error: -T has been retired. Use --tty.
|
|
parallel: Error: -U has been retired. Use --er.
|
|
parallel: Error: -W has been retired. Use --wd.
|
|
parallel: Error: -Y has been retired. Use --shebang.
|
|
parallel: Error: -H has been retired. Use --halt.
|
|
parallel: Error: --tollef has been retired. Use -u -q --arg-sep -- and --load for -l.
|
|
### Test --gnu
|
|
1
|
|
2
|
|
3
|
|
--
|
|
a
|
|
b
|
|
c
|
|
### Test {//}
|
|
. 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 {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
|
|
a/b a/b/c
|
|
### Test --dirnamereplace
|
|
. a
|
|
a a/b
|
|
a/b a/b/c
|
|
### Test https://savannah.gnu.org/bugs/index.php?31716
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -l -0
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -0 -l
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -0 -l 1
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -0 -l 0
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -0 -L -0 - -0 is argument for -L
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
### -k -0 -L 0 - -L always takes arg
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
### -k -0 -L 0 - -L always takes arg
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
### -k -e -0
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -0 -e eof
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -i -0
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### -k -0 -i repl
|
|
1 OK
|
|
2 OK
|
|
3 OK
|
|
4 OK
|
|
5 OK
|
|
### Negative replacement strings
|
|
correct
|
|
correct
|
|
2 + 4 = 2 + 4= 6
|
|
correct
|
|
bug #38439: "open files" with --files --pipe blocks after a while
|
|
1 of 20
|
|
2 of 20
|
|
3 of 20
|
|
4 of 20
|
|
5 of 20
|
|
6 of 20
|
|
7 of 20
|
|
8 of 20
|
|
9 of 20
|
|
10 of 20
|
|
11 of 20
|
|
12 of 20
|
|
13 of 20
|
|
14 of 20
|
|
15 of 20
|
|
16 of 20
|
|
17 of 20
|
|
18 of 20
|
|
19 of 20
|
|
20 of 20
|
|
bug #34241: --pipe should not spawn unneeded processes - part 2
|
|
2
|
|
No .par should exist
|
|
ls: cannot access *.par: No such file or directory
|
|
bug: --gnu was ignored if env var started with space: PARALLEL=' --gnu'
|
|
echo space\ in\ envvar\ OK
|
|
space in envvar OK
|