[-]
[+]
|
Changed |
_service:tar_git:parallel.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/sailfishos-chum/parallel</param>
<param name="branch"></param>
- <param name="revision">20230722+git1</param>
+ <param name="revision">20231122+git1</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/Makefile.am
^
|
@@ -9,6 +9,8 @@
web:
cd src; make web
+ cp -r src/*.pdf src/sphinx/build/html/* ../parallel-web/parallel
+ cp ../parallel-web/parallel/parallel.html ../parallel-web/parallel/man.html
upload:
eval `gpg-agent --daemon`
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/Makefile.in
^
|
@@ -778,6 +778,8 @@
web:
cd src; make web
+ cp -r src/*.pdf src/sphinx/build/html/* ../parallel-web/parallel
+ cp ../parallel-web/parallel/parallel.html ../parallel-web/parallel/man.html
upload:
eval `gpg-agent --daemon`
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/NEWS
^
|
@@ -1,3 +1,64 @@
+20231122
+
+New in this release:
+
+* -a file1 -a +file2 will link file2 to file1 similar to ::::+
+
+* --bar shows total time when all jobs are done.
+
+* Bug fixes and man page updates.
+
+News about GNU Parallel:
+
+* Using GNU Parallel in bash scripts to optimize python processes
+ https://climate-cms.org/posts/2023-11-02-gnu-parallel.html
+
+
+20231022
+
+New in this release:
+
+* Bug fixes and man page updates.
+
+News about GNU Parallel:
+
+* Resume long parallel jobs
+ https://ginolhac.github.io/posts/2023-10-02_resume-parallel/index.html
+
+* Efficiency and Speed with GNU Parallel
+ https://dev.to/0xog_pg/efficiency-and-speed-with-gnu-parallel-loo
+
+
+20230922
+
+New in this release:
+
+* Bug fixes and man page updates.
+
+News about GNU Parallel:
+
+* This CLI Tool is AMAZING | Prime Reacts
+ https://www.youtube.com/watch?v=ry49BZA-tgg
+
+* New Data Engineering Stack - GNU parallel
+ https://www.linkedin.com/feed/update/urn:li:activity:7100509073149743104?updateEntityUrn=urn%3Ali%3Afs_feedUpdate%3A%28V2%2Curn%3Ali%3Aactivity%3A7100509073149743104%29
+
+
+20230822
+
+New in this release:
+
+* Bug fixes and man page updates.
+
+News about GNU Parallel:
+
+* GNU Parallel, where have you been all my life?
+ https://alexplescan.com/posts/2023/08/20/gnu-parallel/
+
+* Parallel (multithreaded) music download from Youtube
+ https://hrna.moe/?p=parallel-multithread-music-download
+
+
20230722
New in this release:
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/README
^
|
@@ -57,11 +57,11 @@
Full installation of GNU Parallel is as simple as:
- wget https://ftpmirror.gnu.org/parallel/parallel-20230722.tar.bz2
- wget https://ftpmirror.gnu.org/parallel/parallel-20230722.tar.bz2.sig
- gpg parallel-20230722.tar.bz2.sig
- bzip2 -dc parallel-20230722.tar.bz2 | tar xvf -
- cd parallel-20230722
+ wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2
+ wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2.sig
+ gpg parallel-20231122.tar.bz2.sig
+ bzip2 -dc parallel-20231122.tar.bz2 | tar xvf -
+ cd parallel-20231122
./configure && make && sudo make install
@@ -70,11 +70,11 @@
If you are not root you can add ~/bin to your path and install in
~/bin and ~/share:
- wget https://ftpmirror.gnu.org/parallel/parallel-20230722.tar.bz2
- wget https://ftpmirror.gnu.org/parallel/parallel-20230722.tar.bz2.sig
- gpg parallel-20230722.tar.bz2.sig
- bzip2 -dc parallel-20230722.tar.bz2 | tar xvf -
- cd parallel-20230722
+ wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2
+ wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2.sig
+ gpg parallel-20231122.tar.bz2.sig
+ bzip2 -dc parallel-20231122.tar.bz2 | tar xvf -
+ cd parallel-20231122
./configure --prefix=$HOME && make && make install
Or if your system lacks 'make' you can simply copy src/parallel
@@ -122,8 +122,8 @@
When using programs that use GNU Parallel to process data for
publication please cite:
- Tange, O. (2023, July 22). GNU Parallel 20230722 ('Приго́жин').
- Zenodo. https://doi.org/10.5281/zenodo.8175685
+ Tange, O. (2023, November 22). GNU Parallel 20231122 ('Grindavík').
+ Zenodo. https://doi.org/10.5281/zenodo.10199085
Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free
Software Foundation, Inc.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/configure
^
|
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for parallel 20230722.
+# Generated by GNU Autoconf 2.71 for parallel 20231122.
#
# Report bugs to <bug-parallel@gnu.org>.
#
@@ -610,8 +610,8 @@
# Identity of this package.
PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel'
-PACKAGE_VERSION='20230722'
-PACKAGE_STRING='parallel 20230722'
+PACKAGE_VERSION='20231122'
+PACKAGE_STRING='parallel 20231122'
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL=''
@@ -1246,7 +1246,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures parallel 20230722 to adapt to many kinds of systems.
+\`configure' configures parallel 20231122 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1313,7 +1313,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of parallel 20230722:";;
+ short | recursive ) echo "Configuration of parallel 20231122:";;
esac
cat <<\_ACEOF
@@ -1390,7 +1390,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-parallel configure 20230722
+parallel configure 20231122
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1427,7 +1427,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by parallel $as_me 20230722, which was
+It was created by parallel $as_me 20231122, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2379,7 +2379,7 @@
# Define the identity of the package.
PACKAGE='parallel'
- VERSION='20230722'
+ VERSION='20231122'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3026,7 +3026,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by parallel $as_me 20230722, which was
+This file was extended by parallel $as_me 20231122, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3090,7 +3090,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-parallel config.status 20230722
+parallel config.status 20231122
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/configure.ac
^
|
@@ -1,4 +1,4 @@
-AC_INIT([parallel],[20230722],[bug-parallel@gnu.org])
+AC_INIT([parallel],[20231122],[bug-parallel@gnu.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/doc/haikus
^
|
@@ -7,18 +7,6 @@
GNU parallel ftw
-- hostux.social/@rmpr @_paulmairo@twitter
- Love to make a dual processor workstation absolutely whir running dozens of analysis scripts at once
- -- Best Catboy Key Grip @alamogordoglass@twitter
-
- i really didn't expect it to be as simple as it is, took me all of 5 minutes to implement and the results are exactly what i wanted
-
- gnu parallel babey, it's really simple actually lol
- -- tom (era) @slimefiend@twitter
-
- GNU parallel is your friend. Unleash your cores! #GNU
- -- Blake L @BlakeDL@twitter
-
-
--line-buffer, a flag
parallel, now more precise
Output is in sync
@@ -27,8 +15,6 @@
write a haiku about gnu parallel and the :::+ option
- Got around to using GNU parallel for the first time from a suggestion by @jdwasmuth ... now I'm wishing I started using this years ago
- -- Stefan Gavriliuc @GavriliucStefan@twitter
I’m a big fan of GNU parallel!
-- Scott Cain @scottjcain@twitter
@@ -227,6 +213,20 @@
=== Used ===
+ Got around to using GNU parallel for the first time from a suggestion by @jdwasmuth ... now I'm wishing I started using this years ago
+ -- Stefan Gavriliuc @GavriliucStefan@twitter
+
+ Love to make a dual processor workstation absolutely whir running dozens of analysis scripts at once
+ -- Best Catboy Key Grip @alamogordoglass@twitter
+
+ GNU parallel is your friend. Unleash your cores! #GNU
+ -- Blake L @BlakeDL@twitter
+
+ i really didn't expect it to be as simple as it is, took me all of 5 minutes to implement and the results are exactly what i wanted
+
+ gnu parallel babey, it's really simple actually lol
+ -- tom (era) @slimefiend@twitter
+
GNU parallel is the greatest productivity hack of all time.
-- ashpool @solanobahn@twitter
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/doc/release_new_version
^
|
@@ -24,22 +24,32 @@
Start termux on Android
Start: wssh mac ping fi.dk
niceload --prg firefox &
-cd testsuite; make mem; make polar; make long; make short
+cd testsuite;
+# With 23 GB RAM free this takes 3m43s
+make mem;
+make polar;
+# Estimated time: 13m
+make long
+# Estimated time: 42m
+make short
== Update version ==
https://zenodo.org/deposit/new
-(*) Software
+Do you already have a DOI for this upload? No
(Reserve DOI)
+Resource type: Software
GNU Parallel 20xxxx22 ('Xxxx')
+Add creator: Person
Tange, Ole
https://orcid.org/0000-0002-6345-1437
+Role: Contact person
Description
GNU Parallel is a general parallelizer to run multiple serial command line programs in parallel without changing them.
License:
-gpl v3
+gpl
[Save]
@@ -79,7 +89,7 @@
cd ~/privat/parallel/packager/obs
find home-tange/parallel/* -type f |
- grep -Ev '(PKGBUILD|parallel.spec)' |
+ grep -Ev '(PKGBUILD|parallel.spec|Makefile)' |
parallel -j1 'osc rm {} || rm {}'
# This should not create new files
osc up home-tange/parallel/
@@ -264,22 +274,28 @@
to:parallel@gnu.org, bug-parallel@gnu.org
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
-Subject: GNU Parallel 20230722 ('Приго́жин') released [stable]
+Subject: GNU Parallel 20231122 ('Perry<<>>') released <<[stable]>>
-GNU Parallel 20230722 ('Приго́жин') has been released. It is available for download at: lbry://@GnuParallel:4
+GNU Parallel 20231122 ('<<>>') has been released. It is available for download at: lbry://@GnuParallel:4
Quote of the month:
- GNU parallel is the greatest productivity hack of all time.
- -- ashpool @solanobahn@twitter
-
+ Got around to using GNU parallel for the first time from a suggestion by @jdwasmuth ... now I'm wishing I started using this years ago
+ -- Stefan Gavriliuc @GavriliucStefan@twitter
New in this release:
-* Time functions (e.g. yyyymmdd($secs) ) can now take secs since epoch as argument.
+* -a file1 -a +file2 will link file2 to file1 similar to ::::+
+
+* --bar shows total time when all jobs are done.
* Bug fixes and man page updates.
+News about GNU Parallel:
+
+* Using GNU Parallel in bash scripts to optimize python processes
+ https://climate-cms.org/posts/2023-11-02-gnu-parallel.html
+
GNU Parallel - For people who live life in the parallel lane.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/packager/obs/Makefile
^
|
@@ -4,25 +4,6 @@
osc rm home-tange/parallel/parallel_*.dsc || true
cp ../debian/parallel_*.dsc ../debian/parallel_*.tar.gz home-tange/parallel/
cp `ls ../../parallel-2*.tar.bz2|grep -v latest|tail -n1` home-tange/parallel/
+ cp `ls ../../parallel-2*.tar.bz2.sig|grep -v latest|tail -n1` home-tange/parallel/
perl -i -pe '/Version:/ and s/20\d\d\d\d\d\d/$$ENV{YYYYMMDD}/g' home-tange/parallel/parallel.spec
- # Update sha256sum
- cd home-tange/parallel && s=`sha256sum parallel-*.tar.bz2|field 1` perl -i -pe 's/(sha256sums=..)\w+(..)/$$1$$ENV{s}$$2/' PKGBUILD
- # Update version
- cd home-tange/parallel && perl -i -pe 's/pkgver=.*/pkgver=$$ENV{YYYYMMDD}/' PKGBUILD
- cd home-tange/parallel/ && osc diff
- cd home-tange/parallel/ && osc up
- cd home-tange/parallel/ && parallel osc add ::: *.spec *.dsc *.tar.gz *.tar.bz2 && echo Src added OK || true
- cd home-tange/parallel/ && osc ci -m "New release"
- ### Wait for "building" state to complete
- echo '### Wait for "building" state'
- sleep 3
- cd home-tange/parallel/ && yes building | parallel -vj1 --delay 10 --halt now,success=1 'osc results|G -E {}'
- echo '### Wait for "building" state to end'
- echo '### Ignore RedHat_RHEL-6 and Univention_3.2 that are broken'
- cd home-tange/parallel/ && yes building | parallel -vj1 --delay 10 --halt now,fail=1 'osc results|G -v RedHat_RHEL-6 -v Univention_3.2 -E {}' || true
- echo '### Wait for "finished" state of .deb'
- cd home-tange/parallel/ && echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(Debian|Ubuntu).*{}"'
- echo '### Wait for "finished" state of .rpm'
- cd home-tange/parallel/ && echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(SUSE|SLE|Scientific|RHEL|Fedora|CentOS).*{}"'
- echo 'Check:'
- echo 'https://build.opensuse.org/package/show/home:tange/parallel'
+ cd home-tange/parallel && make
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/packager/obs/home-tange/parallel/.osc/_files
^
|
@@ -1,6 +1,8 @@
-<directory name="parallel" rev="366" vrev="2" srcmd5="e055a264441e5caf98bd8e8b4fb0dd19">
- <entry name="PKGBUILD" md5="4f17e94fd76c81eba76fa09aa19370a0" size="1246" mtime="1690113100" />
- <entry name="parallel.spec" md5="467fc6f4bcc40043db48217d8894a93f" size="6224" mtime="1690113101" />
- <entry name="parallel_20230722.dsc" md5="9ff42873a1f33b3dcd721105dd7bd9da" size="556" mtime="1690113102" />
- <entry name="parallel_20230722.tar.gz" md5="1484bc9732abef8329afecf87a6c22e9" size="2772354" mtime="1690113119" />
+<directory name="parallel" rev="380" vrev="2" srcmd5="b4c607559e7426c692eea3e056a82bb7">
+ <entry name="Makefile" md5="a165cdcca90c744dc5a5b17cde72ad8e" size="1182" mtime="1698101769" />
+ <entry name="PKGBUILD" md5="31dcf1dd50e82729f300b954b2f6ce1e" size="714" mtime="1700699803" />
+ <entry name="parallel-20231122.tar.bz2" md5="ea1d46d922bbe0f8c179f01d06046ba7" size="2526069" mtime="1700699804" />
+ <entry name="parallel.spec" md5="240e17b0a3a255a05de17097afe5a991" size="6224" mtime="1700699804" />
+ <entry name="parallel_20231122.dsc" md5="657c77879e09eb8d5fa1bc80111931f9" size="556" mtime="1700699804" />
+ <entry name="parallel_20231122.tar.gz" md5="f85f6ce79a4b1ea64a282effc1059e21" size="2802667" mtime="1700699805" />
</directory>
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/packager/obs/home-tange/parallel/.osc/parallel.spec
^
|
@@ -1,7 +1,7 @@
Summary: Shell tool for executing jobs in parallel
Name: parallel
-Version: 20230722
+Version: 20231122
Release: 2.1
License: GPL-3.0-or-later
Group: Productivity/File utilities
|
[-]
[+]
|
Added |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/packager/obs/home-tange/parallel/Makefile
^
|
@@ -0,0 +1,22 @@
+all:
+ # Update sha256sum
+ s=`sha256sum parallel-*.tar.bz2|field 1` perl -i -pe 's/(sha256sums=..)\w+(..)/$$1$$ENV{s}$$2/' PKGBUILD
+ # Update version
+ perl -i -pe 's/pkgver=.*/pkgver=$$ENV{YYYYMMDD}/' PKGBUILD
+ osc diff
+ osc up
+ parallel osc add ::: *.spec *.dsc *.tar.gz *.tar.bz2 && echo Src added OK || true
+ osc ci -m "New release"
+ ### Wait for "building" state to complete
+ echo '### Wait for "building" state'
+ sleep 3
+ yes building | parallel -vj1 --delay 10 --halt now,success=1 'osc results|G -E {}'
+ echo '### Wait for "building" state to end'
+ echo '### Ignore RedHat_RHEL-6 and Univention_3.2 that are broken'
+ yes building | parallel -vj1 --delay 10 --halt now,fail=1 'osc results|G -v RedHat_RHEL-6 -v Univention_3.2 -E {}' || true
+ echo '### Wait for "finished" state of .deb'
+ echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(Debian|Ubuntu).*{}"'
+ echo '### Wait for "finished" state of .rpm'
+ echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(SUSE|SLE|Scientific|RHEL|Fedora|CentOS).*{}"'
+ echo 'Check:'
+ echo 'https://build.opensuse.org/package/show/home:tange/parallel'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/asciinema-manuscript
^
|
@@ -26,7 +26,8 @@
# Run commands in tty2 to set clipboard to next command
manuscript() {
- # <digit> sleep this many seconds before executing command
+ # S <digit>; sleep this many seconds before executing command
+ # T <digit>; sleep this many seconds before pressing enter
cat <<'_'
###
# Definitions
@@ -34,64 +35,66 @@
S() { sleep $@; }
T() { echo -n '$ '; sleep $@; echo; }
# Wait for asciinema to read all input
-sleep 5
+sleep 1
###
S 0; # Make some files
-S 3; seq 100 | parallel --bar seq {}0000 '>' file-{}
-T 1;
+S 1; seq 100 | parallel --bar seq {}0000 '>' file-{}
+T 2;
S 0; # gzip files with -1 .. -7 Note how all combinations are made
-S 3; parallel --bar gzip {1} '<{2}' '>{2}{1}.gz' ::: -{1..7} ::: *
+S 1; parallel --bar gzip {1} '<{2}' '>{2}{1}.gz' ::: -{1..7} ::: *
T 1;
S 0; # Count the bytes in some files. Each job gets its own color
-S 3; parallel --color --tag wc {} ::: file-99*
-T 1;
+S 1; parallel --color --tag wc {} ::: file-99*
+T 2;
S 0; # Remove .gz-files
-S 3; rm *.gz
-T 1;
+S 1; rm *.gz
+T 3;
S 0; # Make a big file
-S 3; seq 10000000 > bigfile
-T 1;
+S 1; seq 10000000 > bigfile
+T 3;
S 0; # Chop bigfile into parts with 100000 lines (slow)
-S 3; cat bigfile | parallel --pipe -n100000 cat '>lines-{#}'
-S 3; ls lines-*
+S 0; cat bigfile | parallel --pipe -n100000 cat '>lines-{#}'
T 1;
+S 1; ls lines-*
+T 3;
S 0; # Chop bigfile into parts each ~10mb (faster)
-S 3; cat bigfile | parallel --pipe --block 10m cat '>10mb-{#}'
+S 0; cat bigfile | parallel --pipe --block 10m cat '>10mb-{#}'
S 3; ls -l 10mb-*
T 1;
S 0; # Chop bigfile into one part per CPU thread (fastest)
-S 3; parallel --pipepart -a bigfile --block -1 \
+S 0; parallel --pipepart -a bigfile --block -1 \
cat '>thread-part-{#}'
S 3; ls -l thread-part-*
T 1;
S 0; # Chop bigfile into one part per CPU thread - chop at 000\n
-S 3; parallel --pipepart -a bigfile --block -1 --recend '000\n' \
+S 0; parallel --pipepart -a bigfile --block -1 --recend '000\n' \
cat '>p000-{#}'
-S 3; head -1 p000-*
-T 1;
+T 3;
+S 1; head -1 p000-*
+T 3;
S 0; # Rename all files to UPPERCASE using a {= perl expr =}
S 3; parallel mv {} {= tr/a-z/A-Z/ =} ::: *
-S 3; ls
-T 1;
+S 1; ls
+T 3;
S 0; # Move files into dirs named after the last char in the name
-S 3; parallel 'mkdir -p {= $_=chop =}; mv {} {= $_=chop =}' ::: *
-S 3; ls
-T 1;
+S 1; parallel 'mkdir -p {= $_=chop =}; mv {} {= $_=chop =}' ::: *
+S 1; ls
+T 3;
S 0; # Zip dirs into files
-S 3; parallel --ll --color --tag zip -r '{= s:/$:: =}'.zip {} ::: */
-T 1;
+S 1; parallel --ll --color --tag zip -r '{= s:/$:: =}'.zip {} ::: */
+T 3;
S 0; # Remove the dirs
-S 3; rm -r */
-T 1;
+S 1; rm -r */
+T 3;
S 0; # Unzip zip files into dirs
-S 3; parallel --ll --tag 'mkdir {.}; cd {.}; unzip ../{}' ::: *.zip
-T 1;
+S 1; parallel --ll --tag 'mkdir {.}; cd {.}; unzip ../{}' ::: *.zip
+T 3;
S 0; # Remove zip and dirs
-S 3; rm -r *.zip ?
-T 1;
+S 1; rm -r *.zip ?
+T 3;
S 0; # Paint output of the failing commands
-S 3; parallel --colorfailed echo Arg:{} ';' exit {} ::: 0 0 1 2 0
-T 1;
+S 1; parallel --colorfailed echo Arg:{} ';' exit {} ::: 0 0 1 2 0
+T 3;
S 0; # Use a bash function with one argument
doit() {
echo Doing it for $1
@@ -99,8 +102,8 @@
echo Done with $1
}
export -f doit
-S 3; parallel doit ::: 1 2 3
-T 1;
+S 1; parallel doit ::: 1 2 3
+T 3;
S 0; # Use a bash function with two argument
doubleit() {
echo Doing it for $1 $2
@@ -108,11 +111,11 @@
echo Done with $1 $2
}
export -f doubleit
-S 3; parallel doubleit ::: 1 2 3 ::: a b
-T 1;
+S 1; parallel doubleit ::: 1 2 3 ::: a b
+T 3;
S 0; # Make some logfiles
S 1; touch log
-S 3; parallel seq {} '>' log.{} ::: {1..10}
+S 1; parallel seq {} '>' log.{} ::: {1..10}
S 3; ls -l
T 1;
S 0; # Simple log rotate
@@ -123,20 +126,25 @@
S 0; # Monitor progress of multiple jobs in parallel
slowseq() { seq "$@" | pv -qL 20; }
export -f slowseq
-S 3; parallel --ll --color --tag slowseq {} ::: 150 {1..60}
+S 1; parallel --ll --color --tag slowseq {} ::: 150 {1..60}
T 3;
###
exit
_
}
+# $sleep = $sleep/2+100.001;
+# $sleep = $sleep/2+100.001;
+# $sleep = $sleep/2+100.001;
+# return $ms/2+100.001;
+# if($something_printed) { $ms = $ms/2+100.001; }
+
pwd=$(pwd)
tmp=$(mktemp -d)
cd "$tmp" &&
manuscript |
- parallel -j1 echo '{= s/^(\d+)\s/sleep($1);""/e; =}' |
- asciinema rec - |
- perl -ne 's/[ST] \d;\s?//;
+ asciinema rec - | tee /tmp/parallel.c |
+ perl -ne 's/;?[ST] \d;\s?//;s/; [ST] \d//;
/###/ and $mark++ and next;
- ($mark == 0 or $mark == 5) and print;
+ ($mark == 0 or $mark == 4) and print;
' > "$pwd"/parallel.cast
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.ash
^
|
@@ -393,7 +393,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.bash
^
|
@@ -395,7 +395,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.dash
^
|
@@ -393,7 +393,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.ksh
^
|
@@ -376,7 +376,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.mksh
^
|
@@ -378,7 +378,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.sh
^
|
@@ -393,7 +393,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/env_parallel.zsh
^
|
@@ -368,7 +368,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20230722 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20231122 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/niceload
^
|
@@ -26,7 +26,7 @@
use strict;
use Getopt::Long;
$Global::progname="niceload";
-$Global::version = 20230722;
+$Global::version = 20231122;
Getopt::Long::Configure("bundling","require_order");
get_options_from_array(\@ARGV) || die_usage();
if($opt::version) {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/parallel
^
|
@@ -2522,10 +2522,8 @@
not ($opt::xargs or $opt::m)) {
$Global::ContextReplace = 1;
}
- if(grep /^$Global::arg_sep\+?$|^$Global::arg_file_sep\+?$/o, @ARGV) {
- # Deal with ::: :::+ :::: and ::::+
- @ARGV = read_args_from_command_line();
- }
+ # Deal with ::: :::+ :::: ::::+ and -a +file
+ @ARGV = read_args_from_command_line();
parse_semaphore();
if(defined $opt::eta) { $opt::progress = $opt::eta; }
@@ -2631,7 +2629,7 @@
# See a list in: 'man parallel_alternatives'
#
# If you want GNU Parallel to be maintained in the future, you
- # should keep this line.
+ # should keep this line:
citation_notice();
# This is because _YOU_ actively make it harder to justify
# spending time developing GNU Parallel by removing it.
@@ -2641,7 +2639,7 @@
# *YOU* will be harming free software by removing the notice. You
# accept to be added to a public hall of shame by removing the
- # line. That includes you, George and Andreas.
+ # line. That includes you, George and Andreas.
parse_halt();
@@ -2800,7 +2798,7 @@
sub init_globals() {
# Defaults:
- $Global::version = 20230722;
+ $Global::version = 20231122;
$Global::progname = 'parallel';
$::name = "GNU Parallel";
$Global::infinity = 2**31;
@@ -3524,76 +3522,136 @@
# @opt::a
# Returns:
# @argv_no_argsep = @::ARGV without ::: and :::: and following args
- my @new_argv = ();
- for(my $arg = shift @ARGV; @ARGV; $arg = shift @ARGV) {
- if($arg eq $Global::arg_sep
- or
- $arg eq $Global::arg_sep."+"
- or
- $arg eq $Global::arg_file_sep
- or
- $arg eq $Global::arg_file_sep."+") {
- my $group_sep = $arg; # This group of args is args or argfiles
- my @group;
- while(defined ($arg = shift @ARGV)) {
- if($arg eq $Global::arg_sep
- or
- $arg eq $Global::arg_sep."+"
- or
- $arg eq $Global::arg_file_sep
- or
- $arg eq $Global::arg_file_sep."+") {
- # exit while loop if finding new separator
- last;
+ my %group_sep = ($Global::arg_sep => ":::",
+ $Global::arg_sep."+" => ":::+",
+ $Global::arg_file_sep => "::::",
+ $Global::arg_file_sep."+" => "::::+");
+ sub is_linked($) {
+ # file is linked if file starts with +
+ local $_ = shift;
+ if(/^\+(.*)/) {
+ my $noplus = $1;
+ if(-e $_ and -e $noplus) {
+ ::error("It is unclear whether you mean +./$noplus or ./+$noplus");
+ wait_and_exit(255);
+ } elsif(-e $_ and not -e $noplus) {
+ # This is ./+file = this is not linked
+ return 0;
+ } elsif(not -e $_ and -e $noplus) {
+ # This is +./file = this is linked
+ return 1;
+ } elsif(not -e $_ and not -e $noplus) {
+ # File does not exist, maybe it is stdin?
+ if($_ eq "-") {
+ # This is - = this is not linked
+ return 0;
+ } elsif($_ eq "+-") {
+ # This is +- = this is linked
+ return 1;
} else {
- # If not hitting ::: :::+ :::: or ::::+
- # Append it to the group
- push @group, $arg;
- }
- }
- my $is_linked = ($group_sep =~ /\+$/) ? 1 : 0;
- my $is_file = ($group_sep eq $Global::arg_file_sep
- or
- $group_sep eq $Global::arg_file_sep."+");
- if($is_file) {
- # :::: / ::::+
- push @opt::linkinputsource, map { $is_linked } @group;
+ ::error("File not found: $_");
+ wait_and_exit(255);
+ }
} else {
- # ::: / :::+
- push @opt::linkinputsource, $is_linked;
+ ::die_bug("noplus: $noplus $_");
}
- if($is_file
- or ($opt::_pipe_means_argfiles and $opt::pipe)
- ) {
- # Group of file names on the command line.
- # Append args into -a
- push @opt::a, @group;
- } else {
- # Group of arguments on the command line.
- # Put them into a file.
- # Create argfile
- my ($outfh,$name) = ::tmpfile(SUFFIX => ".arg");
- unlink($name);
- # Put args into argfile
- print $outfh map { $_,$/ } @group;
- seek $outfh, 0, 0;
- exit_if_disk_full();
- # Append filehandle to -a
- push @opt::a, $outfh;
- }
- if(defined($arg)) {
- # $arg is ::: :::+ :::: or ::::+
- # so there is another group
- redo;
- } else {
- # $arg is undef -> @ARGV empty
+ }
+ # not linked
+ return 0;
+ }
+ sub cmd_template() {
+ # remove command template from @ARGV
+ # keep ::: / :::: in @ARGV if any
+ my @cmd_template;
+ while(@ARGV) {
+ my $arg = shift @ARGV;
+ if($group_sep{$arg}) {
+ # Found separator: push it back and exit loop
+ unshift @ARGV, $arg;
last;
}
+ push @cmd_template, $arg;
+ }
+ return @cmd_template;
+ }
+ sub divide_into_groups() {
+ # Split arguments from @ARGV into groups:
+ # ::: 1 2 3 :::: a b c ::::+ d e f
+ # =>
+ # [ ::: 1 2 3 ], [ :::: a b c ], [ ::::+ d e f ]
+ my @g;
+ my @grp;
+ while(@ARGV) {
+ my $arg = shift @ARGV;
+ if($group_sep{$arg}) {
+ # start a new group
+ push @grp, [@g];
+ @g = ($group_sep{$arg});
+ } else {
+ push @g, $arg;
+ }
+ }
+ push @grp, [@g];
+ shift @grp; # The first will always be empty
+ return @grp;
+ }
+ sub save_to_file(@) {
+ # Put args into a file, return open file handle of file
+ # Create argfile
+ my ($fh,$name) = ::tmpfile(SUFFIX => ".arg");
+ unlink($name);
+ # Put args into argfile
+ print $fh map { $_,$/ } @_;
+ seek $fh, 0, 0;
+ exit_if_disk_full();
+ return $fh;
+ }
+ my @cmd = cmd_template();
+ # The rest of @ARGV is ::: / :::: args
+ # If there are any -a: Rewrite them to use ::::
+ if(@opt::a) { unshift @ARGV, $Global::arg_file_sep, @opt::a; }
+ @opt::a = ();
+ # Convert ::: and :::: into (linked) files and put those into @opt::a
+ for my $g_ref (divide_into_groups()) {
+ my $group_sep = shift @$g_ref;
+ if($group_sep eq ":::" or $group_sep eq ":::+") {
+ # Group starts with ::: / :::+
+ if($opt::_pipe_means_argfiles and $#$g_ref < 0) {
+ # TODO
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/parallel.pod
^
|
@@ -330,72 +330,100 @@
internal functions and data structures.
The expression must give the same result if evaluated twice -
-otherwise the behaviour is undefined. E.g. this will not work as expected:
+otherwise the behaviour is undefined. E.g. in some versions of GNU
+B<parallel> this will not work as expected:
parallel echo '{= $_= ++$wrong_counter =}' ::: a b c
A few convenience functions and data structures have been made:
-=over 15
+=over 2
=item Z<> B<Q(>I<string>B<)>
-shell quote a string
+Shell quote a string. Example:
+
+ parallel echo {} is quoted as '{= $_=Q($_) =}' ::: \$PWD
=item Z<> B<pQ(>I<string>B<)>
-perl quote a string
+Perl quote a string. Example:
+
+ parallel echo {} is quoted as '{= $_=pQ($_) =}' ::: \$PWD
=item Z<> B<uq()> (or B<uq>)
-do not quote current replacement string
+Do not quote current replacement string. Example:
+
+ parallel echo {} has the value '{= uq =}' ::: \$PWD
=item Z<> B<hash(val)>
-compute B::hash(val)
+Compute B::hash(val). Example:
+
+ parallel echo Hash of {} is '{= $_=hash($_) =}' ::: a b c
=item Z<> B<total_jobs()>
-number of jobs in total
+Number of jobs in total. Example:
+
+ parallel echo Number of jobs: '{= $_=total_jobs() =}' ::: a b c
=item Z<> B<slot()>
-slot number of job
+Slot number of job. Example:
+
+ parallel echo Job slot of {} is '{= $_=slot() =}' ::: a b c
=item Z<> B<seq()>
-sequence number of job
+Sequence number of job. Example:
+
+ parallel echo Seq number of {} is '{= $_=seq() =}' ::: a b c
=item Z<> B<@arg>
-the arguments
+The arguments counting from 1 ($arg[1] = {1} = first argument). Example:
+
+ parallel echo {1}+{2}='{=1 $_=$arg[1]+$arg[2] =}' \
+ ::: 1 2 3 ::: 2 3 4
+
+('{=1' forces this to be a positional replacement string, and
+therefore will not repeat the value for each arg.)
=item Z<> B<skip()>
-skip this job (see also B<--filter>)
+Skip this job (see also B<--filter>). Example:
+
+ parallel echo '{= $arg[1] >= $arg[2] and skip =}' \
+ ::: 1 2 3 ::: 2 3 4
+
+=item Z<> B<yyyy_mm_dd_hh_mm_ss(sec)>
-=item Z<> B<yyyy_mm_dd_hh_mm_ss(sec)> (alpha testing)
+=item Z<> B<yyyy_mm_dd_hh_mm(sec)>
-=item Z<> B<yyyy_mm_dd_hh_mm(sec)> (alpha testing)
+=item Z<> B<yyyy_mm_dd(sec)>
-=item Z<> B<yyyy_mm_dd(sec)> (alpha testing)
+=item Z<> B<hh_mm_ss(sec)>
-=item Z<> B<hh_mm_ss(sec)> (alpha testing)
+=item Z<> B<hh_mm(sec)>
-=item Z<> B<hh_mm(sec)> (alpha testing)
+=item Z<> B<yyyymmddhhmmss(sec)>
-=item Z<> B<yyyymmddhhmmss(sec)> (alpha testing)
+=item Z<> B<yyyymmddhhmm(sec)>
-=item Z<> B<yyyymmddhhmm(sec)> (alpha testing)
+=item Z<> B<yyyymmdd(sec)>
-=item Z<> B<yyyymmdd(sec)> (alpha testing)
+=item Z<> B<hhmmss(sec)>
-=item Z<> B<hhmmss(sec)> (alpha testing)
+=item Z<> B<hhmm(sec)>
-=item Z<> B<hhmm(sec)> (alpha testing)
+Time functions. I<sec> is number of seconds since epoch. If left out
+it will use current local time. Example:
-time functions. I<sec> is number of seconds since epoch. If left out
-it will use current local time.
+ parallel echo 'Now: {= $_=yyyy_mm_dd_hh_mm_ss() =}' ::: Dummy
+ parallel echo 'The end: {= $_=yyyy_mm_dd_hh_mm_ss($_) =}' \
+ ::: 2147483648
=back
@@ -508,16 +536,12 @@
See also: B<--delimiter>
-=item B<--arg-file> I<input-file>
+=item B<--arg-file> I<input-file> (alpha testing)
-=item B<-a> I<input-file>
+=item B<-a> I<input-file> (alpha testing)
Use I<input-file> as input source.
-If you use this option, stdin (standard input) is given to the first
-process run. Otherwise, stdin (standard input) is redirected from
-/dev/null.
-
If multiple B<--arg-file> are given, each I<input-file> will be treated as an
input source, and all combinations of input sources will be
generated. E.g. The file B<foo> contains B<1 2>, the file
@@ -525,6 +549,12 @@
(1,a) (1,b) (1,c) (2,a) (2,b) (2,c). This is useful for replacing
nested for-loops.
+If I<input-file> starts with B<+> the file will be linked to the
+previous B<--arg-file> E.g. The file B<foo> contains B<1 2>, the file
+B<bar> contains B<a b>. B<-a foo> B<-a +bar> will result in the
+combinations (1,a) (2,b) like B<--link> instead of generating all
+combinations.
+
See also: B<--link> B<{>I<n>B<}> B<::::> B<::::+> B<:::>
@@ -1438,6 +1468,8 @@
multiply 3 by log(55), multiply that by the number of CPU threads and
divide by 100, add this to the number of CPU threads.
+An expression that evalutates to less that 1 is replaced with 1.
+
=item I<procfile>
Read parameter from file.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/parallel_alternatives.pod
^
|
@@ -814,7 +814,7 @@
=item M1 (M2) M3 (M4) M5 M6
-=item - O2 O3 - O5 - - N/A N/A O10
+=item - O2 O3 - O5 - - x x O10
=item E1 - - - - - -
@@ -2697,7 +2697,7 @@
=item M1 - M3 - - M6
-=item O1 - O3 - O5 - - N/A N/A
+=item O1 - O3 - O5 - - x x
=item E1 - - E4 - - -
@@ -2730,7 +2730,7 @@
=item M1 - (M3) - - M6
-=item O1 O2 O3 - O5 O6 - N/A N/A -
+=item O1 O2 O3 - O5 O6 - x x -
=item E1 - - - - - -
@@ -2869,7 +2869,7 @@
=item M1 - M3 - - M6
-=item - - O3 - O5 - - N/A N/A O10
+=item - - O3 - O5 - - x x O10
=item E1 - - E4 - - -
@@ -2926,7 +2926,7 @@
=item - - - - - M6
-=item - O2 O3 - O5 O6 - N/A N/A O10
+=item - O2 O3 - O5 O6 - x x O10
=item E1 - - E4 - E6 -
@@ -3448,7 +3448,7 @@
=over
-=item - - - I4 - - N/A
+=item - - - I4 - - x
=item - - - - - M6
@@ -3662,11 +3662,11 @@
=over
-=item - - - I4 - - N/A
+=item - - - I4 - - x
=item M1 - - - - M6
-=item - - O3 - - - - N/A - -
+=item - - O3 - - - - x - -
=item E1 - E3 - E5 - -
@@ -3781,7 +3781,7 @@
=item - - - - - M6
-=item O1 O2 O3 - O5 O6 - N/A - O10
+=item O1 O2 O3 - O5 O6 - x - O10
=item E1 - - E4 - - -
@@ -3850,7 +3850,7 @@
=item M1 - - - - M6
-=item O1 - O3 - - - - N/A - -
+=item O1 - O3 - - - - x - -
=item E1 - - E4 - - -
@@ -4094,11 +4094,11 @@
=item M1 - - - - M6
-=item - - O3 - - - - N/A N/A -
+=item - - O3 - - - - x x -
=item E1 - - - - - -
-=item R1 - - - - R6 N/A N/A -
+=item R1 - - - - R6 x x -
=item - -
@@ -4143,8 +4143,145 @@
(Last checked: 2023-07)
+=head2 DIFFERENCES BETWEEN xe AND GNU Parallel
+
+Summary (see legend above):
+
+=over
+
+=item I1 I2 - I4 - - I7
+
+=item M1 - M3 M4 - M6
+
+=item - O2 O3 - O5 O6 - O8 - O10
+
+=item E1 - - E4 - - -
+
+=item - - - - - - - - -
+
+=item - -
+
+=back
+
+B<xe> has a peculiar limitation:
+
+ echo /bin/echo | xe {} OK
+ echo echo | xe /bin/{} fails
+
+
+=head3 EXAMPLES
+
+Compress all .c files in the current directory, using all CPU cores:
+
+ 1$ xe -a -j0 gzip -- *.c
+
+ 1$ parallel gzip ::: *.c
+
+Remove all empty files, using lr(1):
+
+ 2$ lr -U -t 'size == 0' | xe -N0 rm
+
+ 2$ lr -U -t 'size == 0' | parallel -X rm
+
+Convert .mp3 to .ogg, using all CPU cores:
+
+ 3$ xe -a -j0 -s 'ffmpeg -i "${1}" "${1%.mp3}.ogg"' -- *.mp3
+
+ 3$ parallel ffmpeg -i {} {.}.ogg ::: *.mp3
+
+Same, using percent rules:
+
+ 4$ xe -a -j0 -p %.mp3 ffmpeg -i %.mp3 %.ogg -- *.mp3
+
+ 4$ parallel --rpl '% s/\.mp3// or skip' ffmpeg -i %.mp3 %.ogg ::: *.mp3
+
+Similar, but hiding output of ffmpeg, instead showing spawned jobs:
+
+ 5$ xe -ap -j0 -vvq '%.{m4a,ogg,opus}' ffmpeg -y -i {} out/%.mp3 -- *
+
+ 5$ parallel -v --rpl '% s/\.(m4a|ogg|opus)// or skip' \
+ ffmpeg -y -i {} out/%.mp3 '2>/dev/null' ::: *
+
+ 5$ parallel -v ffmpeg -y -i {} out/{.}.mp3 '2>/dev/null' ::: *
+
+https://github.com/leahneukirchen/xe
+(Last checked: 2023-08)
+
+
+=head2 DIFFERENCES BETWEEN sp AND GNU Parallel
+
+Summary (see legend above):
+
+=over
+
+=item - - - I4 - - -
+
+=item M1 - M3 - - M6
+
+=item - O2 O3 - O5 (O6) - x x O10
+
+=item E1 - - - - - -
+
+=item - - - - - - - - -
+
+=item - -
+
+=back
+
+B<sp> has very few options.
+
+It can either be used like:
+
+ sp command {} option :: arg1 arg2 arg3
+
+which is similar to:
+
+ parallel command {} option ::: arg1 arg2 arg3
+
+Or:
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/parallel_tutorial.pod
^
|
@@ -20,8 +20,7 @@
Otherwise start by watching the intro videos for a quick introduction:
https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1
-Then browse through the B<EXAMPLE>s after the list of B<OPTIONS> in
-B<man parallel> (Use B<LESS=+/EXAMPLE: man parallel>). That will give
+Then browse through the examples (B<man parallel_examples>). That will give
you an idea of what GNU B<parallel> is capable of.
If you want to dive even deeper: spend a couple of hours walking
@@ -51,12 +50,12 @@
$ (wget -O - pi.dk/3 || lynx -source pi.dk/3 || curl pi.dk/3/ || \
fetch -o - http://pi.dk/3 ) > install.sh
$ sha1sum install.sh
- 12345678 3374ec53 bacb199b 245af2dd a86df6c9
+ 12345678 51621b7f 1ee103c0 0783aae4 ef9889f8
$ md5sum install.sh
- 029a9ac0 6e8b5bc6 052eac57 b2c3c9ca
+ 62eada78 703b5500 241b8e50 baf62758
$ sha512sum install.sh
- 40f53af6 9e20dae5 713ba06c f517006d 9897747b ed8a4694 b1acba1b 1464beb4
- 60055629 3f2356f3 3e9c4e3c 76e3f3af a9db4b32 bd33322b 975696fc e6b23cfb
+ 160d3159 9480cf5c a101512f 150b7ac0 206a65dc 86f2bb6b bdf1a2bc 96bc6d06
+ 7f8237c2 0964b67f bccf8a93 332528fa 11e5ab43 2a6226a6 ceb197ab 7f03c061
$ bash install.sh
This will also install the newest version of the tutorial which you
@@ -145,7 +144,7 @@
ssh $SERVER1 echo works
ssh $SERVER2 echo works
-It can be setup by running 'ssh-keygen -t dsa; ssh-copy-id $SERVER1'
+It can be setup by running B<ssh-keygen -t dsa; ssh-copy-id $SERVER1>
and using an empty passphrase, or you can use B<ssh-agent>.
=back
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/parsort
^
|
@@ -137,7 +137,7 @@
"help" => \$opt::dummy,
) || exit(255);
$Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1];
-$Global::version = 20230722;
+$Global::version = 20231122;
if($opt::version) { version(); exit 0; }
# Remove -D and --parallel=N
my @s = (grep { ! /^-D$|^--parallel=\S+$/ }
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/pod2rst-fix
^
|
@@ -25,6 +25,8 @@
# Conversion errors:
+# B<foo `bar` baz>
+
# Fixed:
# ... B<foo>
# bar
@@ -32,6 +34,9 @@
# Fixed:
# =item - - a
+# Fixed:
+# \\` => \`
+
# Not fixed (RST does not support Bold-Italic):
# B<cat | xargs -d "\n" -n1 I<command>>
@@ -98,6 +103,8 @@
s/\\\\[*]/\\*/g;
# - -
s/^-(\s+)\001/-$1\\-/g;
+ # \\` => \`
+ s/\\\\`/\\`/g;
print;
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/sql
^
|
@@ -670,7 +670,7 @@
exit ($err);
sub parse_options {
- $Global::version = 20230722;
+ $Global::version = 20231122;
$Global::progname = 'sql';
# This must be done first as this may exec myself
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/REQUIREMENTS
^
|
@@ -7,18 +7,18 @@
install_packages() {
# After first run, set this:
# export INSTALL=echo
- INSTALL=${INSTALL:-"sudo aptitude -y install"}
+ INSTALL=${INSTALL:-"sudo apt -y install"}
# The testsuite depends on this:
test_pkgs="imagemagick expect autossh sshpass jq libpod-simple-perl"
test_pkgs="$test_pkgs pod2pdf gawk lua5.3 clisp php-cli nodejs"
test_pkgs="$test_pkgs mono-csharp-shell libevent-dev tcl libtext-csv-perl"
- test_pkgs="$test_pkgs xterm libc6-i386 libcrypt1:i386"
- test_pkgs="$test_pkgs libtest-nowarnings-perl xemacs21-bin"
+ test_pkgs="$test_pkgs xterm libc6-i386 libcrypt1:i386 vagrant virtualbox"
+ test_pkgs="$test_pkgs libtest-nowarnings-perl xemacs21 pv zenity"
# Debian package
- packaging_pkgs="dpkg-dev build-essential debhelper osc cvs automake-1.15"
- packaging_pkgs="$packaging_pkgs python3-m2crypto alien"
+ packaging_pkgs="dpkg-dev build-essential debhelper osc cvs automake"
+ packaging_pkgs="$packaging_pkgs python3-m2crypto alien python3-pip"
# Shebang Tools
shebang_pkgs="gnuplot octave ruby r-base-core"
@@ -34,7 +34,8 @@
# Shells
# (csh = bsd-csh that is broken)
- shell_pkgs="ash dash fdclone fish fizsh ksh ksh93u+m ksh93 mksh posh rc rush sash"
+ # (ksh93 gone)
+ shell_pkgs="ash dash fdclone fish fizsh ksh ksh93u+m mksh posh rc rush sash"
shell_pkgs="$shell_pkgs tcsh yash zsh busybox-static"
# Databases
@@ -42,10 +43,10 @@
# Build Tools
build_pkgs="bison libxxhash-dev libzstd-dev liblz4-dev libssl-dev"
- build_pkgs="$build_pkgs python3-cmarkgfm graphviz"
+ build_pkgs="$build_pkgs python3-cmarkgfm libpod-pom-view-restructured-perl"
+ build_pkgs="$build_pkgs graphviz"
sudo dpkg --add-architecture i386; sudo apt update
- pip install sphinx-rtd-theme
if $INSTALL $test_pkgs $packaging_pkgs $shebang_pkgs $sql_pkgs \
$compression_pkgs $shell_pkgs $database_pkgs $build_pkgs ; then
# OK
@@ -54,6 +55,7 @@
echo Packages missing
return 1
fi
+ pip install sphinx-rtd-theme
sudo apt update &
}
@@ -117,6 +119,10 @@
setup_databases() {
# DATABASES
echo '# Create PostgreSQL'
+ sudo em /etc/postgresql/*/main/postgresql.conf
+ # listen_addresses = '*'
+ sudo service postgresql restart
+
# Drop database and user if needed
sudo su - postgres -c 'dropdb '`whoami`
sudo su - postgres -c 'dropuser '`whoami`
@@ -146,13 +152,13 @@
# could not settle on kex algorithm
# Server kex preferences: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
# Client kex preferences: ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1>
-debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,sntrup761x25519-sha512@openssh.com,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group1-sha1,ext-info-c
-debug2: host key algorithms: ssh-dss,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
-debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
-debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
-debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
-debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
-
+#debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,sntrup761x25519-sha512@openssh.com,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group1-sha1,ext-info-c
+#debug2: host key algorithms: ssh-dss,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
+#debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
+#debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
+#debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
+#debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
+#
}
insert_in_etc_hosts() {
@@ -170,6 +176,8 @@
add_single_vagrant_to_etc_hosts() {
vagrant_ip() {
cd vagrant/*/$1
+ # .vagrant can contain dirt
+ rm -rf .vagrant
grep 172 Vagrantfile | grep -v '#' |
perl -pe 's/.*(172.27[\.0-9]+).*/$1/';
}
@@ -179,11 +187,36 @@
add_ssh_key_to_authorized
insert_in_etc_hosts 127.1.2.3 server
- parallel add_single_vagrant_to_etc_hosts ::: centos8 freebsd11 freebsd12 rhel8 centos3 centos39-oracle817
+
+ insert_in_etc_hosts 127.0.0.2 lo
+ parallel add_single_vagrant_to_etc_hosts ::: centos8 freebsd11 freebsd12 freebsd13 rhel8 centos3 centos39-oracle817
+ # TODO alias
+ # 172.27.27.8 centos8 parallel-server1 server1
+ # 172.27.27.72 freebsd12 parallel-server3 server3
+ # 172.27.27.108 rhel8 parallel-server4 server4
+ # 172.27.27.73 freebsd13 parallel-server2 server2
+ # TODO
+ # $ cat /etc/vbox/networks.conf
+ # * 172.27.0.0/16
+ # TODO
+ sshaddvagrant() {
+ cat ~/.ssh/*.pub | (cd vagrant/*/$1 && vagrant ssh -c 'cat >>.ssh/authorized_keys')
+ sshpass -p vagrant ssh-copy-id -o StrictHostKeyChecking=accept-new vagrant@$1
+ ssh vagrant@$1 echo vagrant@$1 OK
+ }
+ export -f sshaddvagrant
+ parallel sshaddvagrant ::: centos8 freebsd11 freebsd12 freebsd13 rhel8 centos3 centos39-oracle817
+ parallel ssh -o StrictHostKeyChecking=accept-new vagrant@{} ::: parallel-server{1..4} centos3
+ # TODO find ipv6
+ ipv6=
+ parallel ssh -o StrictHostKeyChecking=accept-new {} ::: lo localhost 172.27.27.1 127.0.0.1 ::1 $ipv6
+ # parallel sshpass -p vagrant ssh-copy-id vagrant@{} ::: parallel-server{1..4} centos3
+
+ # ssh-copy-id vagrant@parallel-server1..4 centos3
}
shellsplus() {
- shells="bash sh csh ash dash tcsh zsh ksh ksh2020 ksh93 fish fizsh mksh"
+ shells="bash sh csh ash dash tcsh zsh ksh ksh93 fish fizsh mksh"
shells="$shells posh rc sash yash nopathbash nopathcsh"
shellsplus="parallel $shells"
parallel -k echo ::: $shellsplus
@@ -213,15 +246,15 @@
sudo killall -u $shell
sudo deluser $shell && sudo mv /home/$shell /tmp/$shell.$RANDOM
sudo groupdel $shell
- if echo $shell | grep -q parallel; then
- # User parallel should have /bin/bash
+ if echo $shell | grep -qE "parallel|withpassword"; then
+ # User parallel+withpassword should have /bin/bash
loginshell=/bin/bash
else
# Other users should have `which $shell` with nopath removed
loginshell=$(which $shell || which ${shell#"nopath"})
fi
sudo adduser --shell $loginshell --disabled-password --gecos "$shell for parallel,,," $shell &&
- echo "$shell:$SSHPASS" | sudo chpasswd &&
+ echo "$shell:$SSHPASS" | sudo chpasswd &&
sshpass -e ssh-copy-id $shell@lo &&
echo "$shell created"
}
@@ -444,10 +477,12 @@
}
install_tangetools() {
- git clone https://gitlab.com/ole.tange/tangetools.git
- cd tangetools &&
- make &&
- sudo make install
+ (
+ git clone https://codeberg.org/tange/tangetools
+ cd tangetools &&
+ make &&
+ sudo make install
+ )
}
misc() {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-centos3.sh
^
|
@@ -33,10 +33,10 @@
# Vagrant does not set the IP addr
# cd to the centos3 dir with the Vagrantfile
# Try different "cd"s as the script may be started from another dir
- cd $testsuitedir/vagrant/tange/centos3/ 2>/dev/null
- cd testsuite/vagrant/tange/centos3/ 2>/dev/null
- cd vagrant/tange/centos3/ 2>/dev/null
- cd ../vagrant/tange/centos3/ 2>/dev/null
+ cd $testsuitedir/vagrant/FritsHoogland/centos3/ 2>/dev/null
+ cd testsuite/vagrant/FritsHoogland/centos3/ 2>/dev/null
+ cd vagrant/FritsHoogland/centos3/ 2>/dev/null
+ cd ../vagrant/FritsHoogland/centos3/ 2>/dev/null
vagrantssh() {
port=$(perl -ne '/#/ and next; /config.vm.network.*host:\s*(\d+)/ and print $1' Vagrantfile)
w4it-for-port-open localhost $port
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-freebsd.sh
^
|
@@ -105,7 +105,7 @@
# We can safely ignore those.
export LC_ALL=C
-PARALLEL_SHELL=sh env_parallel --env _ -vj9 -k --joblog /tmp/jl-`basename $0` --retries 3 \
+PARALLEL_SHELL=sh env_parallel --timeout 100 --env _ -vj4 -k --joblog /tmp/jl-`basename $0` --retries 3 \
-S $SSHLOGIN1 --tag '{} 2>&1' \
::: $(compgen -A function | grep par_ | sort) \
2> >(grep -Ev 'shopt: not found|declare: not found')
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-10s.sh
^
|
@@ -36,25 +36,6 @@
uniq -c
}
-par__print_in_blocks() {
- echo '### bug #41565: Print happens in blocks - not after each job complete'
- median() { perl -e '@a=sort {$a<=>$b} <>;print $a[$#a/2]';}
- export -f median
-
- echo 'The timing here is important: a full second between each'
- perl -e 'for(1..30){print("$_\n");`sleep 1`}' |
- parallel -j3 'echo {#}' |
- timestamp -dd |
- perl -pe '$_=int($_+0.3)."\n"' |
- median
- echo '300 ms jobs:'
- perl -e 'for(1..30){print("$_\n");`sleep .3`}' |
- parallel -j3 --delay 0.3 echo |
- timestamp -d -d |
- perl -pe 's/(.....).*/int($1*10+0.2)/e' |
- median
-}
-
par__load_from_PARALLEL() {
echo "### Test reading load from PARALLEL"
export PARALLEL="--load 300%"
@@ -102,7 +83,7 @@
"mkfs.reiserfs -fq" "mkfs.ntfs -F" "mkfs.xfs -f" mkfs.minix \
mkfs.fat mkfs.vfat mkfs.msdos mkfs.f2fs |
perl -pe 's:(/dev/loop|par-test-loop)\S+:$1:g;s/ +/ /g' |
- G -v MB/s -v GB/s -v UUID -v Binutils -v 150000
+ G -v MB/s -v GB/s -v UUID -v Binutils -v 150000 -v exfatprogs
# Skip:
# mkfs.bfs - ro
# mkfs.cramfs - ro
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-30s.sh
^
|
@@ -8,6 +8,25 @@
# Each should be taking 30-100s and be possible to run in parallel
# I.e.: No race conditions, no logins
+par__print_in_blocks() {
+ echo '### bug #41565: Print happens in blocks - not after each job complete'
+ median() { perl -e '@a=sort {$a<=>$b} <>;print $a[$#a/2]';}
+ export -f median
+
+ echo 'The timing here is important: a full second between each'
+ perl -e 'for(1..30){print("$_\n");`sleep 1`}' |
+ parallel -j3 'echo {#}' |
+ timestamp -dd |
+ perl -pe '$_=int($_+0.3)."\n"' |
+ median
+ echo '300 ms jobs:'
+ perl -e 'for(1..30){print("$_\n");`sleep .3`}' |
+ parallel -j3 --delay 0.3 echo |
+ timestamp -d -d |
+ perl -pe 's/(.....).*/int($1*10+0.2)/e' |
+ median
+}
+
par__keeporder_roundrobin() {
echo 'bug #50081: --keep-order --round-robin should give predictable results'
. `which env_parallel.bash`
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-3s.sh
^
|
@@ -8,6 +8,53 @@
# Each should be taking 3-10s and be possible to run in parallel
# I.e.: No race conditions, no logins
+par__argfile_plus() {
+ tmp=$(mktemp -d)
+ (
+ p() {
+ echo -- -a $1 $2 $3
+ stdout parallel -k -a $1 -a $2 -a $3 echo;
+ }
+ q() {
+ echo :::: $1 $2 $3
+ stdout parallel -k echo :::: $1 $2 $3;
+ }
+ cd "$tmp"
+ seq 3 > file
+ seq 4 6 > +file
+ seq 7 9 > ++file
+
+ p file +file ++file
+ p file +./file ++file
+ p file ./+file ++file
+
+ p file +file +./+file
+ p file +./file +./+file
+ p file ./+file +./+file
+
+ p file +file ./++file
+ p file +./file ./++file
+ p file ./+file ./++file
+
+ q file +file ++file
+ q file +./file ++file
+ q file ./+file ++file
+
+ q file +file +./+file
+ q file +./file +./+file
+ q file ./+file +./+file
+
+ q file +file ./++file
+ q file +./file ./++file
+ q file ./+file ./++file
+
+ seq 10 12 | p ./file ./++file -
+ seq 10 12 | p ./file +./+file +-
+ seq 10 12 | p ./file +- ./+file
+ )
+ rm -r "$tmp"
+}
+
par_process_slot_var() {
echo '### bug #62310: xargs compatibility: --process-slot-var=name'
seq 0.1 0.4 1.8 |
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-load.sh
^
|
@@ -50,4 +50,4 @@
export -f $(compgen -A function | grep par_)
#compgen -A function | grep par_ | sort | parallel --delay $D -j$P --tag -k '{} 2>&1'
compgen -A function | grep par_ | sort |
- parallel --joblog /tmp/jl-`basename $0` -j200% --tag -k '{} 2>&1'
+ parallel --timeout 30s --joblog /tmp/jl-`basename $0` -j200% --tag -k '{} 2>&1'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-mem.sh
^
|
@@ -20,7 +20,6 @@
perl5.14parallel() {
# Run GNU Parallel under perl 5.14 which does not support 64-bit very well
# Remove setpgrp_func because 5.14 may use another func
- pwd
rm -f ~/.parallel/tmp/sshlogin/*/setpgrp_func
PATH=input-files/perl-v5.14.2:$PATH
PERL5LIB=input-files/perl-v5.14.2/lib input-files/perl-v5.14.2/perl `which parallel` "$@"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh7.sh
^
|
@@ -1720,7 +1720,7 @@
par_environment_too_big_bash() {
myscript=$(cat <<'_EOF'
echo 'bug #50815: env_parallel should warn if the environment is too big'
- len_overhead=-$( (shopt;alias;typeset -f;typeset -p) | wc -c)/1000
+ len_overhead=-10-$( (shopt;alias;typeset -f;typeset -p) | wc -c)/1000
len_var=$len_overhead+56
len_var_remote=$len_overhead+40
len_var_quote=$len_overhead+31
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local21.sh
^
|
@@ -216,6 +216,7 @@
par_shebang_wrap_octave() {
script="$TMPDIR"/shebang_wrap_octave
+ unset DISPLAY
cat <<'EOF' > "$script"
#!/usr/local/bin/parallel --shebang-wrap -k /usr/bin/octave
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-tutorial.sh
^
|
@@ -120,7 +120,13 @@
s:par......par:tempfile:g;
s:^tempfile\n::g;
# --progress => 1:local / 4 / 4
- s,1:local / . / .,1:local / 9 / 9,
+ s,1:local / . / .,1:local / 9 / 9,;
+ # bash: -c: line 1: .set a="tempfile"; if( { test -d "$a" } ) echo "$a is a dir"
+ s{.*bash: .*set a=".*".*test -d.*is a dir.*\n}{};
+ # /usr/bin/bash: -c: line 1: syntax error near unexpected token .)
+ s{.*bash: .*syntax error near unexpected token.*\n}{};
+ # This is input_file
+ s{^This is input_file.*\n}{};
' | uniq
echo "### 3+3 .par files (from --files), 1 .tms-file from tmux attach"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/sql01.sh
^
|
@@ -50,7 +50,7 @@
par_read_sql_from_file() {
echo '### Test reading sql from file'
unittest=/tmp/unittest.sql
- cat >"$unittest.sql" <<EOF
+ cat >"$unittest" <<EOF
DROP TABLE IF EXISTS unittest;
CREATE TABLE unittest (
id INT,
@@ -132,11 +132,22 @@
echo
}
-par_listproc() {
+par__listproc() {
echo "### Test --show-processlist|proclist|listproc";
- sql --show-processlist "$DBURL" | wc -lw
- sql --proclist "$DBURL" | wc -lw
- sql --listproc "$DBURL" | wc -lw
+ # Take the minimum of 3 runs to avoid error counting
+ # if one of the other jobs happens to be running
+ (
+ sql --show-processlist "$DBURL" | wc -lw
+ sql --show-processlist "$DBURL" | wc -lw
+ ) | sort | head -n1
+ (
+ sql --proclist "$DBURL" | wc -lw
+ sql --proclist "$DBURL" | wc -lw
+ ) | sort | head -n1
+ (
+ sql --listproc "$DBURL" | wc -lw
+ sql --listproc "$DBURL" | wc -lw
+ ) | sort | head -n1
}
par_dbsize() {
@@ -184,4 +195,4 @@
export -f $(compgen -A function | grep par_)
compgen -A function | grep par_ | LC_ALL=C sort |
- parallel --timeout 1000% -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1'
+ parallel --timeout 3000% -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/vagrant/FritsHoogland/centos3/Vagrantfile
^
|
@@ -1,6 +1,10 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
+# SPDX-FileCopyrightText: 2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
|
[-]
[+]
|
Added |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/vagrant/FritsHoogland/centos39-oracle817/Vagrantfile
^
|
@@ -0,0 +1,84 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+# SPDX-FileCopyrightText: 2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+# All Vagrant configuration is done below. The "2" in Vagrant.configure
+# configures the configuration version (we support older styles for
+# backwards compatibility). Please don't change it unless you know what
+# you're doing.
+Vagrant.configure("2") do |config|
+ # The most common configuration options are documented and commented below.
+ # For a complete reference, please see the online documentation at
+ # https://docs.vagrantup.com.
+
+ # Every Vagrant development environment requires a box. You can search for
+ # boxes at https://vagrantcloud.com/search.
+ config.vm.box = "FritsHoogland/centos39-oracle817"
+
+ # Disable automatic box update checking. If you disable this, then
+ # boxes will only be checked for updates when the user runs
+ # `vagrant box outdated`. This is not recommended.
+ # config.vm.box_check_update = false
+
+ # Create a forwarded port mapping which allows access to a specific port
+ # within the machine from a port on the host machine. In the example below,
+ # accessing "localhost:8080" will access port 80 on the guest machine.
+ # NOTE: This will enable public access to the opened port
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
+ config.vm.network :forwarded_port, guest: 22, host: 50136, id: 'ssh'
+
+ # Create a forwarded port mapping which allows access to a specific port
+ # within the machine from a port on the host machine and only allow access
+ # via 127.0.0.1 to disable public access
+ # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
+
+ # Create a private network, which allows host-only access to the machine
+ # using a specific IP.
+ config.vm.network "private_network", ip: "172.27.27.3"
+
+ # Create a public network, which generally matched to bridged network.
+ # Bridged networks make the machine appear as another physical device on
+ # your network.
+ # config.vm.network "public_network"
+
+ # Share an additional folder to the guest VM. The first argument is
+ # the path on the host to the actual folder. The second argument is
+ # the path on the guest to mount the folder. And the optional third
+ # argument is a set of non-required options.
+ # config.vm.synced_folder "../data", "/vagrant_data"
+
+ # Provider-specific configuration so you can fine-tune various
+ # backing providers for Vagrant. These expose provider-specific options.
+ # Example for VirtualBox:
+ #
+ config.vm.provider "virtualbox" do |vb|
+ # # Display the VirtualBox GUI when booting the machine
+ # vb.gui = true
+ #
+ # # Customize the amount of memory on the VM:
+# vb.memory = "512"
+ vb.memory = "300"
+ vb.customize ["modifyvm", :id, "--usb", "on"]
+ vb.customize ["modifyvm", :id, "--usbehci", "off"]
+ end
+ #
+ # View the documentation for the provider you are using for more
+ # information on available options.
+
+ # Enable provisioning with a shell script. Additional provisioners such as
+ # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
+ # documentation for more information about their specific syntax and use.
+ config.vm.provision "shell" do |s|
+ ssh_pub_key = File.readlines("../../authorized_keys").first.strip
+ s.inline = <<-SHELL
+ mkdir /root/.ssh
+ echo #{ssh_pub_key} >> /home/vagrant/.ssh/authorized_keys
+ echo #{ssh_pub_key} >> /root/.ssh/authorized_keys
+ sudo apt install rsync || sudo yum install -y rsync || sudo pkg install -y rsync
+ sudo apt install perl || sudo yum install -y perl || sudo pkg install -y perl
+ SHELL
+ end
+end
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/vagrant/generic/freebsd13/Vagrantfile
^
|
@@ -1,6 +1,10 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
+# SPDX-FileCopyrightText: 2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-10s
^
|
@@ -21,11 +21,6 @@
par__load_from_PARALLEL 8a7095c1c23bfadc311fe6b16d950582 -
par__pipepart_spawn ### bug #46214: Using --pipepart doesnt spawn multiple jobs in version 20150922
par__pipepart_spawn 1:local / 2+ / 2+
-par__print_in_blocks ### bug #41565: Print happens in blocks - not after each job complete
-par__print_in_blocks The timing here is important: a full second between each
-par__print_in_blocks 1
-par__print_in_blocks 300 ms jobs:
-par__print_in_blocks 3
par__round_robin_blocks bug #49664: --round-robin does not complete
par__round_robin_blocks 8
par_colsep ### Test of --colsep
@@ -615,10 +610,10 @@
par_long_line_remote 1 6 30006
par_long_line_remote 6 50 250050
par_maxlinelen_X_I ### Test max line length -X -I
-par_maxlinelen_X_I 42d5c115907de0044ef988a0639204cd -
+par_maxlinelen_X_I 859ed2964e82dba118e92b1bedd2f84a -
par_maxlinelen_X_I Chars per line (817788/13): 62906
par_maxlinelen_m_I ### Test max line length -m -I
-par_maxlinelen_m_I 2f0d9d11a071f5dbe6bd876a19499ff5 -
+par_maxlinelen_m_I 183794839f45c8f7e38fe7c677c49958 -
par_maxlinelen_m_I Chars per line (697810/11): 63437
par_nice Check that --nice works
par_nice load_10
@@ -748,7 +743,6 @@
par_quote_special_results mkfs.btrfs . ./ ./ ./ ./ ./ ./
./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./¡ ./¢ ./£ ./¤ ./¥ ./¦ ./§ ./¨ ./© ./ª ./« ./¬ ./ ./® ./¯ ./° ./± ./² ./³ ./´ ./µ ./¶ ./· ./¸ ./¹ ./º ./» ./¼ ./½ ./¾ ./¿ ./À ./Á ./Â ./Ã ./Ä ./Å ./Æ ./Ç ./È ./É ./Ê ./Ë ./Ì ./Í ./Î ./Ï ./Ð ./Ñ ./Ò ./Ó ./Ô ./Õ ./Ö ./× ./Ø ./Ù ./Ú ./Û ./Ü ./Ý ./Þ ./ß ./à ./á ./â ./ã ./ä ./å ./æ ./ç ./è ./é ./ê ./ë ./ì ./í ./î ./ï ./ð ./ñ ./ò ./ó ./ô ./õ ./ö ./÷ ./ø ./ù ./ú ./û ./ü ./ý ./þ ./ÿ
par_quote_special_results mkfs.btrfs 150+0 records in
par_quote_special_results mkfs.btrfs 150+0 records out
-par_quote_special_results mkfs.exfat exfatprogs version : 1.1.3
par_quote_special_results mkfs.exfat Creating exFAT filesystem(/dev/shm/par-test-loop cluster size=4096)
par_quote_special_results mkfs.exfat
par_quote_special_results mkfs.exfat Writing volume boot record: done
@@ -1164,9 +1158,9 @@
par_shellquote tcsh "\\\
par_shellquote tcsh \\\\\\\\\\\\\\ \!\"\#\$%\&\'\(\)\*+,-./0123456789:\;\<\=\>\?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]\^_\`abcdefghijklmnopqrstuvwxyz\{\|\}\~\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\ \¡\¢\£\¤\¥\¦\§\¨\©\ª\«\¬\\®\¯\°\±\²\³\´\µ\¶\·\¸\¹\º\»\¼\½\¾\¿\À\Á\Â\Ã\Ä\Å\Æ\Ç\È\É\Ê\Ë\Ì\Í\Î\Ï\Ð\Ñ\Ò\Ó\Ô\Õ\Ö\×\Ø\Ù\Ú\Û\Ü\Ý\Þ\ß\à\á\â\ã\ä\å\æ\ç\è\é\ê\ë\ì\í\î\ï\ð\ñ\ò\ó\ô\õ\ö\÷\ø\ù\ú\û\ü\ý\þ\ÿ
par_sockets_cores_threads ### Test --number-of-sockets/cores/threads
par_sockets_cores_threads 1
-par_sockets_cores_threads 2
par_sockets_cores_threads 4
-par_sockets_cores_threads 2
+par_sockets_cores_threads 8
+par_sockets_cores_threads 4
par_sockets_cores_threads ### Test --use-sockets-instead-of-threads
par_sockets_cores_threads threads done
par_sockets_cores_threads sockets done
@@ -1266,7 +1260,7 @@
par_xargs_compat d
par_xargs_compat e
par_xargs_compat ### test too long args
-par_xargs_compat parallel: Error: Command line too long (1000005 >= 64031) at input 0: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
+par_xargs_compat parallel: Error: Command line too long (1000005 >= 63543) at input 0: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
par_xargs_compat xargs: argument line too long
par_xargs_compat parallel: Error: Command line too long (1000007 >= 10) at input 0: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
par_xargs_compat 1 2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-1s
^
|
@@ -1269,10 +1269,10 @@
par_testquote fdsh "#&/
par_testquote fdsh ()*=?'
par_too_long_line_X bug #54869: Long lines break
-par_too_long_line_X 1 15890 63952
-par_too_long_line_X 1 12796 63980
-par_too_long_line_X 1 12796 63980
-par_too_long_line_X 1 518 2590
+par_too_long_line_X 1 15806 63532
+par_too_long_line_X 1 12698 63490
+par_too_long_line_X 1 12698 63490
+par_too_long_line_X 1 798 3990
par_trailing_space_line_continuation ### Test of trailing space continuation
par_trailing_space_line_continuation foo ole bar
par_trailing_space_line_continuation quux
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-30s
^
|
@@ -1607,6 +1607,11 @@
par__plus_dyn_repl abcabcdefdef abcdefdef
par__plus_dyn_repl abcabcdefdef abcabcdef
par__plus_dyn_repl abcabcdefdef abcabcdef
+par__print_in_blocks ### bug #41565: Print happens in blocks - not after each job complete
+par__print_in_blocks The timing here is important: a full second between each
+par__print_in_blocks 1
+par__print_in_blocks 300 ms jobs:
+par__print_in_blocks 3
par_bin ### Test --bin
par_bin 2 2 4
par_bin 2 2 4
@@ -2725,8 +2730,8 @@
par_macron ¯<¯<¯>¯> -X ¯<¯<¯>¯>¯<¯<¯>¯>
par_macron ¯<¯<¯>¯> -X /usr/bin/bash: -c: line 1: syntax error near unexpected token `newline'
par_macron ¯<¯<¯>¯> -X /usr/bin/bash: -c: line 1: `echo ¯<¯<¯>¯>'
-par_macron ¯<¯<¯>¯> -X /usr/bin/bash: line 1: ¯: Invalid or incomplete multibyte or wide character
-par_macron ¯<¯<¯>¯> -X /usr/bin/bash: line 1: ¯: Invalid or incomplete multibyte or wide character
+par_macron ¯<¯<¯>¯> -X /usr/bin/bash: line 1: ¯: No such file or directory
+par_macron ¯<¯<¯>¯> -X /usr/bin/bash: line 1: ¯: No such file or directory
par_macron ¯<¯<¯>¯> -q ¯<¯<¯>¯>
par_macron ¯<¯<¯>¯> -q ¯<¯<¯>¯> ¯<¯<¯>¯>
par_macron ¯<¯<¯>¯> -q "¯<¯<¯>¯>" ¯<¯<¯>¯>
@@ -2744,15 +2749,15 @@
par_macron ¯<¯<¯>¯> -k ¯<¯<¯>¯>¯<¯<¯>¯>
par_macron ¯<¯<¯>¯> -k /usr/bin/bash: -c: line 1: syntax error near unexpected token `newline'
par_macron ¯<¯<¯>¯> -k /usr/bin/bash: -c: line 1: `echo ¯<¯<¯>¯>'
-par_macron ¯<¯<¯>¯> -k /usr/bin/bash: line 1: ¯: Invalid or incomplete multibyte or wide character
-par_macron ¯<¯<¯>¯> -k /usr/bin/bash: line 1: ¯: Invalid or incomplete multibyte or wide character
+par_macron ¯<¯<¯>¯> -k /usr/bin/bash: line 1: ¯: No such file or directory
+par_macron ¯<¯<¯>¯> -k /usr/bin/bash: line 1: ¯: No such file or directory
par_max_length_len_128k ### BUG: The length for -X is not close to max (131072)
-par_max_length_len_128k 64xxx
-par_max_length_len_128k 64xxx
-par_max_length_len_128k 64xxx
-par_max_length_len_128k 64xxx
-par_max_length_len_128k 64xxx
-par_max_length_len_128k 64xxx
+par_max_length_len_128k 63xxx
+par_max_length_len_128k 63xxx
+par_max_length_len_128k 63xxx
+par_max_length_len_128k 63xxx
+par_max_length_len_128k 63xxx
+par_max_length_len_128k 63xxx
par_memfree ### test memfree - it should be killed by timeout
par_memfree Free mem: 1k
par_memfree parallel: Warning: This job was killed because it timed out:
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-3s
^
|
@@ -1,6 +1,6 @@
par_10000_m_X ### Test -m with 10000 args
par_10000_m_X 3 29994 186685
-par_10000_m_X 68c56110ece48d4cd34af322ea65ebaf -
+par_10000_m_X 268eed4478df6062b69e01f880b2ed65 -
par_X_I_meta ### Test -X -I with shell meta chars
par_X_I_meta 3
par_X_I_meta 3
@@ -12,6 +12,172 @@
par__10000_5_rpl_X 4
par__10000_5_rpl_X 3
par__10000_5_rpl_X 2
+par__argfile_plus -- -a file +file ++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./file or ./+file
+par__argfile_plus -- -a file +./file ++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./+file or ./++file
+par__argfile_plus -- -a file ./+file ++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./+file or ./++file
+par__argfile_plus -- -a file +file +./+file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./file or ./+file
+par__argfile_plus -- -a file +./file +./+file
+par__argfile_plus 1 1 4
+par__argfile_plus 2 2 5
+par__argfile_plus 3 3 6
+par__argfile_plus -- -a file ./+file +./+file
+par__argfile_plus 1 4 4
+par__argfile_plus 1 5 5
+par__argfile_plus 1 6 6
+par__argfile_plus 2 4 4
+par__argfile_plus 2 5 5
+par__argfile_plus 2 6 6
+par__argfile_plus 3 4 4
+par__argfile_plus 3 5 5
+par__argfile_plus 3 6 6
+par__argfile_plus -- -a file +file ./++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./file or ./+file
+par__argfile_plus -- -a file +./file ./++file
+par__argfile_plus 1 1 7
+par__argfile_plus 1 1 8
+par__argfile_plus 1 1 9
+par__argfile_plus 2 2 7
+par__argfile_plus 2 2 8
+par__argfile_plus 2 2 9
+par__argfile_plus 3 3 7
+par__argfile_plus 3 3 8
+par__argfile_plus 3 3 9
+par__argfile_plus -- -a file ./+file ./++file
+par__argfile_plus 1 4 7
+par__argfile_plus 1 4 8
+par__argfile_plus 1 4 9
+par__argfile_plus 1 5 7
+par__argfile_plus 1 5 8
+par__argfile_plus 1 5 9
+par__argfile_plus 1 6 7
+par__argfile_plus 1 6 8
+par__argfile_plus 1 6 9
+par__argfile_plus 2 4 7
+par__argfile_plus 2 4 8
+par__argfile_plus 2 4 9
+par__argfile_plus 2 5 7
+par__argfile_plus 2 5 8
+par__argfile_plus 2 5 9
+par__argfile_plus 2 6 7
+par__argfile_plus 2 6 8
+par__argfile_plus 2 6 9
+par__argfile_plus 3 4 7
+par__argfile_plus 3 4 8
+par__argfile_plus 3 4 9
+par__argfile_plus 3 5 7
+par__argfile_plus 3 5 8
+par__argfile_plus 3 5 9
+par__argfile_plus 3 6 7
+par__argfile_plus 3 6 8
+par__argfile_plus 3 6 9
+par__argfile_plus :::: file +file ++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./file or ./+file
+par__argfile_plus :::: file +./file ++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./+file or ./++file
+par__argfile_plus :::: file ./+file ++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./+file or ./++file
+par__argfile_plus :::: file +file +./+file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./file or ./+file
+par__argfile_plus :::: file +./file +./+file
+par__argfile_plus 1 1 4
+par__argfile_plus 2 2 5
+par__argfile_plus 3 3 6
+par__argfile_plus :::: file ./+file +./+file
+par__argfile_plus 1 4 4
+par__argfile_plus 1 5 5
+par__argfile_plus 1 6 6
+par__argfile_plus 2 4 4
+par__argfile_plus 2 5 5
+par__argfile_plus 2 6 6
+par__argfile_plus 3 4 4
+par__argfile_plus 3 5 5
+par__argfile_plus 3 6 6
+par__argfile_plus :::: file +file ./++file
+par__argfile_plus parallel: Error: It is unclear whether you mean +./file or ./+file
+par__argfile_plus :::: file +./file ./++file
+par__argfile_plus 1 1 7
+par__argfile_plus 1 1 8
+par__argfile_plus 1 1 9
+par__argfile_plus 2 2 7
+par__argfile_plus 2 2 8
+par__argfile_plus 2 2 9
+par__argfile_plus 3 3 7
+par__argfile_plus 3 3 8
+par__argfile_plus 3 3 9
+par__argfile_plus :::: file ./+file ./++file
+par__argfile_plus 1 4 7
+par__argfile_plus 1 4 8
+par__argfile_plus 1 4 9
+par__argfile_plus 1 5 7
+par__argfile_plus 1 5 8
+par__argfile_plus 1 5 9
+par__argfile_plus 1 6 7
+par__argfile_plus 1 6 8
+par__argfile_plus 1 6 9
+par__argfile_plus 2 4 7
+par__argfile_plus 2 4 8
+par__argfile_plus 2 4 9
+par__argfile_plus 2 5 7
+par__argfile_plus 2 5 8
+par__argfile_plus 2 5 9
+par__argfile_plus 2 6 7
+par__argfile_plus 2 6 8
+par__argfile_plus 2 6 9
+par__argfile_plus 3 4 7
+par__argfile_plus 3 4 8
+par__argfile_plus 3 4 9
+par__argfile_plus 3 5 7
+par__argfile_plus 3 5 8
+par__argfile_plus 3 5 9
+par__argfile_plus 3 6 7
+par__argfile_plus 3 6 8
+par__argfile_plus 3 6 9
+par__argfile_plus -- -a ./file ./++file -
+par__argfile_plus 1 7 10
+par__argfile_plus 1 7 11
+par__argfile_plus 1 7 12
+par__argfile_plus 1 8 10
+par__argfile_plus 1 8 11
+par__argfile_plus 1 8 12
+par__argfile_plus 1 9 10
+par__argfile_plus 1 9 11
+par__argfile_plus 1 9 12
+par__argfile_plus 2 7 10
+par__argfile_plus 2 7 11
+par__argfile_plus 2 7 12
+par__argfile_plus 2 8 10
+par__argfile_plus 2 8 11
+par__argfile_plus 2 8 12
+par__argfile_plus 2 9 10
+par__argfile_plus 2 9 11
+par__argfile_plus 2 9 12
+par__argfile_plus 3 7 10
+par__argfile_plus 3 7 11
+par__argfile_plus 3 7 12
+par__argfile_plus 3 8 10
+par__argfile_plus 3 8 11
+par__argfile_plus 3 8 12
+par__argfile_plus 3 9 10
+par__argfile_plus 3 9 11
+par__argfile_plus 3 9 12
+par__argfile_plus -- -a ./file +./+file +-
+par__argfile_plus 1 4 10
+par__argfile_plus 2 5 11
+par__argfile_plus 3 6 12
+par__argfile_plus -- -a ./file +- ./+file
+par__argfile_plus 1 10 4
+par__argfile_plus 1 10 5
+par__argfile_plus 1 10 6
+par__argfile_plus 2 11 4
+par__argfile_plus 2 11 5
+par__argfile_plus 2 11 6
+par__argfile_plus 3 12 4
+par__argfile_plus 3 12 5
+par__argfile_plus 3 12 6
par__parset_assoc_arr bash@lo parset into an assoc array
par__parset_assoc_arr bash@lo val 1 val 2 val 3
par__parset_assoc_arr bash@lo val 1 val 2 val 3
@@ -730,7 +896,7 @@
par_shebang r [1] "C"
par_show_limits ### Test --show-limits
par_show_limits Maximal size of command: 130xxx
-par_show_limits Maximal usable size of command: 64xxx
+par_show_limits Maximal usable size of command: 63xxx
par_show_limits
par_show_limits Execution will continue now, and it will try to read its input
par_show_limits and run commands; if this is not what you wanted to happen, please
@@ -747,7 +913,7 @@
par_show_limits bar car far
par_show_limits ### BUG: empty lines with --show-limit
par_show_limits Maximal size of command: 130xxx
-par_show_limits Maximal usable size of command: 64xxx
+par_show_limits Maximal usable size of command: 63xxx
par_show_limits
par_show_limits Execution will continue now, and it will try to read its input
par_show_limits and run commands; if this is not what you wanted to happen, please
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-mem
^
|
@@ -1,5 +1,6 @@
+dir ~/privat/parallel/testsuite
par_2gb_record_reading ### Trouble reading a record > 2 GB for certain versions of Perl (substr($a,0,2G+1)="fails")
-par_2gb_record_reading ### perl -e $buf=("x"x(2**31))."x"; substr($buf,0,2**31+1)=""; print length $buf
+par_2gb_record_reading ### perl -e $buf=("x"x(2**31))."x"; substr($buf,0,2**31+1)="; print length $buf
par_2gb_record_reading Eats 4 GB
par_2gb_record_reading 0
par_2gb_record_reading Eats 4.7 GB
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh4
^
|
@@ -223,6 +223,12 @@
par__test_different_rsync_versions rsync-v2.6.7 Basic use works: rsync-v2.6.7
par__test_different_rsync_versions rsync-v2.6.8 Basic use works: rsync-v2.6.8
par__test_different_rsync_versions rsync-v2.6.9 Basic use works: rsync-v2.6.9
+par__test_different_rsync_versions rsync-v3.0.0 Basic use works: rsync-v3.0.0
+par__test_different_rsync_versions rsync-v3.0.1 Basic use works: rsync-v3.0.1
+par__test_different_rsync_versions rsync-v3.0.2 Basic use works: rsync-v3.0.2
+par__test_different_rsync_versions rsync-v3.0.3 Basic use works: rsync-v3.0.3
+par__test_different_rsync_versions rsync-v3.0.4 Basic use works: rsync-v3.0.4
+par__test_different_rsync_versions rsync-v3.0.5 Basic use works: rsync-v3.0.5
par__test_different_rsync_versions rsync-v3.0.6 Basic use works: rsync-v3.0.6
par__test_different_rsync_versions rsync-v3.0.7 Basic use works: rsync-v3.0.7
par__test_different_rsync_versions rsync-v3.0.8 Basic use works: rsync-v3.0.8
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh5
^
|
@@ -40,22 +40,10 @@
par_--ssh_autossh rsync error: error in rsync protocol data stream (code 12) at io.c(231) [Receiver=3.2.7]
par_--ssh_autossh foo_autossh
par_--ssh_lsh ### --ssh lsh
-par_--ssh_lsh parallel: Warning: Could not figure out number of cpus on lo (). Using 1.
-par_--ssh_lsh lsh: Server's hostkey is not trusted. Disconnecting.
-par_--ssh_lsh lsh: Protocol error: Bad server host key
par_--ssh_lsh
-par_--ssh_lsh
-par_--ssh_lsh parallel: Warning: Could not figure out number of cpus on csh@lo (). Using 1.
-par_--ssh_lsh lsh: Server's hostkey is not trusted. Disconnecting.
-par_--ssh_lsh lsh: Protocol error: Bad server host key
par_--ssh_lsh
-par_--ssh_lsh
-par_--ssh_lsh parallel: Warning: Could not figure out number of cpus on lo (). Using 1.
-par_--ssh_lsh lsh: Server's hostkey is not trusted. Disconnecting.
-par_--ssh_lsh lsh: Protocol error: Bad server host key
par_--ssh_lsh
-par_--ssh_lsh
-par_--ssh_lsh parallel: Warning: Could not figure out number of cpus on csh@lo (). Using 1.
-par_--ssh_lsh lsh: Server's hostkey is not trusted. Disconnecting.
-par_--ssh_lsh lsh: Protocol error: Bad server host key
par_--ssh_lsh
-par_--ssh_lsh
+par_--ssh_lsh OK
+par_--ssh_lsh OK
+par_--ssh_lsh OK
+par_--ssh_lsh OK
par__--shellquote_command_len ### test quoting will not cause a crash if too long
par__--shellquote_command_len -Slo -j10 " 1 1 1 1 4
par__--shellquote_command_len -Slo -j10 " 1 2 1 1 10
@@ -257,74 +245,74 @@
par__--shellquote_command_len -Slo -j10 ' 10 8 0 0 0
par__--shellquote_command_len -Slo -j10 ' 10 9 0 0 0
par__--shellquote_command_len -Slo -j10 ' 10 10 0 0 0
-par__--shellquote_command_len -Slo -j10 " 1 9 parallel: Error: Command line too long (98xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 1 10 parallel: Error: Command line too long (295xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 2 8 parallel: Error: Command line too long (65xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 2 9 parallel: Error: Command line too long (196xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 2 10 parallel: Error: Command line too long (590xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 3 8 parallel: Error: Command line too long (98xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 3 9 parallel: Error: Command line too long (295xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 3 10 parallel: Error: Command line too long (885xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 4 8 parallel: Error: Command line too long (131xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 4 9 parallel: Error: Command line too long (393xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 4 10 parallel: Error: Command line too long (1180xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 5 8 parallel: Error: Command line too long (164xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 5 9 parallel: Error: Command line too long (492xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 5 10 parallel: Error: Command line too long (1476xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 6 7 parallel: Error: Command line too long (65xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 6 8 parallel: Error: Command line too long (196xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 6 9 parallel: Error: Command line too long (590xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 6 10 parallel: Error: Command line too long (1771xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 7 7 parallel: Error: Command line too long (76xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 7 8 parallel: Error: Command line too long (229xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 7 9 parallel: Error: Command line too long (688xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 7 10 parallel: Error: Command line too long (2066xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 8 7 parallel: Error: Command line too long (87xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 8 8 parallel: Error: Command line too long (262xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 8 9 parallel: Error: Command line too long (787xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 8 10 parallel: Error: Command line too long (2361xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 9 7 parallel: Error: Command line too long (98xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 9 8 parallel: Error: Command line too long (295xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 9 9 parallel: Error: Command line too long (885xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 9 10 parallel: Error: Command line too long (2657xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 10 7 parallel: Error: Command line too long (109xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 10 8 parallel: Error: Command line too long (328xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 10 9 parallel: Error: Command line too long (984xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 " 10 10 parallel: Error: Command line too long (2952xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len -Slo -j10 ' 1 9 parallel: Error: Command line too long (98xxx >= 64xxx) at input 0: '
-par__--shellquote_command_len -Slo -j10 ' 1 10 parallel: Error: Command line too long (295xxx >= 64xxx) at input 0: '
-par__--shellquote_command_len -Slo -j10 ' 2 8 parallel: Error: Command line too long (65xxx >= 64xxx) at input 0: ''
-par__--shellquote_command_len -Slo -j10 ' 2 9 parallel: Error: Command line too long (196xxx >= 64xxx) at input 0: ''
-par__--shellquote_command_len -Slo -j10 ' 2 10 parallel: Error: Command line too long (590xxx >= 64xxx) at input 0: ''
-par__--shellquote_command_len -Slo -j10 ' 3 8 parallel: Error: Command line too long (98xxx >= 64xxx) at input 0: '''
-par__--shellquote_command_len -Slo -j10 ' 3 9 parallel: Error: Command line too long (295xxx >= 64xxx) at input 0: '''
-par__--shellquote_command_len -Slo -j10 ' 3 10 parallel: Error: Command line too long (885xxx >= 64xxx) at input 0: '''
-par__--shellquote_command_len -Slo -j10 ' 4 8 parallel: Error: Command line too long (131xxx >= 64xxx) at input 0: ''''
-par__--shellquote_command_len -Slo -j10 ' 4 9 parallel: Error: Command line too long (393xxx >= 64xxx) at input 0: ''''
-par__--shellquote_command_len -Slo -j10 ' 4 10 parallel: Error: Command line too long (1180xxx >= 64xxx) at input 0: ''''
-par__--shellquote_command_len -Slo -j10 ' 5 8 parallel: Error: Command line too long (164xxx >= 64xxx) at input 0: '''''
-par__--shellquote_command_len -Slo -j10 ' 5 9 parallel: Error: Command line too long (492xxx >= 64xxx) at input 0: '''''
-par__--shellquote_command_len -Slo -j10 ' 5 10 parallel: Error: Command line too long (1476xxx >= 64xxx) at input 0: '''''
-par__--shellquote_command_len -Slo -j10 ' 6 7 parallel: Error: Command line too long (65xxx >= 64xxx) at input 0: ''''''
-par__--shellquote_command_len -Slo -j10 ' 6 8 parallel: Error: Command line too long (196xxx >= 64xxx) at input 0: ''''''
-par__--shellquote_command_len -Slo -j10 ' 6 9 parallel: Error: Command line too long (590xxx >= 64xxx) at input 0: ''''''
-par__--shellquote_command_len -Slo -j10 ' 6 10 parallel: Error: Command line too long (1771xxx >= 64xxx) at input 0: ''''''
-par__--shellquote_command_len -Slo -j10 ' 7 7 parallel: Error: Command line too long (76xxx >= 64xxx) at input 0: '''''''
-par__--shellquote_command_len -Slo -j10 ' 7 8 parallel: Error: Command line too long (229xxx >= 64xxx) at input 0: '''''''
-par__--shellquote_command_len -Slo -j10 ' 7 9 parallel: Error: Command line too long (688xxx >= 64xxx) at input 0: '''''''
-par__--shellquote_command_len -Slo -j10 ' 7 10 parallel: Error: Command line too long (2066xxx >= 64xxx) at input 0: '''''''
-par__--shellquote_command_len -Slo -j10 ' 8 7 parallel: Error: Command line too long (87xxx >= 64xxx) at input 0: ''''''''
-par__--shellquote_command_len -Slo -j10 ' 8 8 parallel: Error: Command line too long (262xxx >= 64xxx) at input 0: ''''''''
-par__--shellquote_command_len -Slo -j10 ' 8 9 parallel: Error: Command line too long (787xxx >= 64xxx) at input 0: ''''''''
-par__--shellquote_command_len -Slo -j10 ' 8 10 parallel: Error: Command line too long (2361xxx >= 64xxx) at input 0: ''''''''
-par__--shellquote_command_len -Slo -j10 ' 9 7 parallel: Error: Command line too long (98xxx >= 64xxx) at input 0: '''''''''
-par__--shellquote_command_len -Slo -j10 ' 9 8 parallel: Error: Command line too long (295xxx >= 64xxx) at input 0: '''''''''
-par__--shellquote_command_len -Slo -j10 ' 9 9 parallel: Error: Command line too long (885xxx >= 64xxx) at input 0: '''''''''
-par__--shellquote_command_len -Slo -j10 ' 9 10 parallel: Error: Command line too long (2657xxx >= 64xxx) at input 0: '''''''''
-par__--shellquote_command_len -Slo -j10 ' 10 7 parallel: Error: Command line too long (109xxx >= 64xxx) at input 0: ''''''''''
-par__--shellquote_command_len -Slo -j10 ' 10 8 parallel: Error: Command line too long (328xxx >= 64xxx) at input 0: ''''''''''
-par__--shellquote_command_len -Slo -j10 ' 10 9 parallel: Error: Command line too long (984xxx >= 64xxx) at input 0: ''''''''''
-par__--shellquote_command_len -Slo -j10 ' 10 10 parallel: Error: Command line too long (2952xxx >= 64xxx) at input 0: ''''''''''
+par__--shellquote_command_len -Slo -j10 " 1 9 parallel: Error: Command line too long (98xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 1 10 parallel: Error: Command line too long (295xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 2 8 parallel: Error: Command line too long (65xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 2 9 parallel: Error: Command line too long (196xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 2 10 parallel: Error: Command line too long (590xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 3 8 parallel: Error: Command line too long (98xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 3 9 parallel: Error: Command line too long (295xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 3 10 parallel: Error: Command line too long (885xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 4 8 parallel: Error: Command line too long (131xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 4 9 parallel: Error: Command line too long (393xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 4 10 parallel: Error: Command line too long (1180xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 5 8 parallel: Error: Command line too long (164xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 5 9 parallel: Error: Command line too long (492xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 5 10 parallel: Error: Command line too long (1476xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 6 7 parallel: Error: Command line too long (65xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 6 8 parallel: Error: Command line too long (196xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 6 9 parallel: Error: Command line too long (590xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 6 10 parallel: Error: Command line too long (1771xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 7 7 parallel: Error: Command line too long (76xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 7 8 parallel: Error: Command line too long (229xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 7 9 parallel: Error: Command line too long (688xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 7 10 parallel: Error: Command line too long (2066xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 8 7 parallel: Error: Command line too long (87xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 8 8 parallel: Error: Command line too long (262xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 8 9 parallel: Error: Command line too long (787xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 8 10 parallel: Error: Command line too long (2361xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 9 7 parallel: Error: Command line too long (98xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 9 8 parallel: Error: Command line too long (295xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 9 9 parallel: Error: Command line too long (885xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 9 10 parallel: Error: Command line too long (2657xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 10 7 parallel: Error: Command line too long (109xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 10 8 parallel: Error: Command line too long (328xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 10 9 parallel: Error: Command line too long (984xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 " 10 10 parallel: Error: Command line too long (2952xxx >= 63xxx) at input 0: "
+par__--shellquote_command_len -Slo -j10 ' 1 9 parallel: Error: Command line too long (98xxx >= 63xxx) at input 0: '
+par__--shellquote_command_len -Slo -j10 ' 1 10 parallel: Error: Command line too long (295xxx >= 63xxx) at input 0: '
+par__--shellquote_command_len -Slo -j10 ' 2 8 parallel: Error: Command line too long (65xxx >= 63xxx) at input 0: ''
+par__--shellquote_command_len -Slo -j10 ' 2 9 parallel: Error: Command line too long (196xxx >= 63xxx) at input 0: ''
+par__--shellquote_command_len -Slo -j10 ' 2 10 parallel: Error: Command line too long (590xxx >= 63xxx) at input 0: ''
+par__--shellquote_command_len -Slo -j10 ' 3 8 parallel: Error: Command line too long (98xxx >= 63xxx) at input 0: '''
+par__--shellquote_command_len -Slo -j10 ' 3 9 parallel: Error: Command line too long (295xxx >= 63xxx) at input 0: '''
+par__--shellquote_command_len -Slo -j10 ' 3 10 parallel: Error: Command line too long (885xxx >= 63xxx) at input 0: '''
+par__--shellquote_command_len -Slo -j10 ' 4 8 parallel: Error: Command line too long (131xxx >= 63xxx) at input 0: ''''
+par__--shellquote_command_len -Slo -j10 ' 4 9 parallel: Error: Command line too long (393xxx >= 63xxx) at input 0: ''''
+par__--shellquote_command_len -Slo -j10 ' 4 10 parallel: Error: Command line too long (1180xxx >= 63xxx) at input 0: ''''
+par__--shellquote_command_len -Slo -j10 ' 5 8 parallel: Error: Command line too long (164xxx >= 63xxx) at input 0: '''''
+par__--shellquote_command_len -Slo -j10 ' 5 9 parallel: Error: Command line too long (492xxx >= 63xxx) at input 0: '''''
+par__--shellquote_command_len -Slo -j10 ' 5 10 parallel: Error: Command line too long (1476xxx >= 63xxx) at input 0: '''''
+par__--shellquote_command_len -Slo -j10 ' 6 7 parallel: Error: Command line too long (65xxx >= 63xxx) at input 0: ''''''
+par__--shellquote_command_len -Slo -j10 ' 6 8 parallel: Error: Command line too long (196xxx >= 63xxx) at input 0: ''''''
+par__--shellquote_command_len -Slo -j10 ' 6 9 parallel: Error: Command line too long (590xxx >= 63xxx) at input 0: ''''''
+par__--shellquote_command_len -Slo -j10 ' 6 10 parallel: Error: Command line too long (1771xxx >= 63xxx) at input 0: ''''''
+par__--shellquote_command_len -Slo -j10 ' 7 7 parallel: Error: Command line too long (76xxx >= 63xxx) at input 0: '''''''
+par__--shellquote_command_len -Slo -j10 ' 7 8 parallel: Error: Command line too long (229xxx >= 63xxx) at input 0: '''''''
+par__--shellquote_command_len -Slo -j10 ' 7 9 parallel: Error: Command line too long (688xxx >= 63xxx) at input 0: '''''''
+par__--shellquote_command_len -Slo -j10 ' 7 10 parallel: Error: Command line too long (2066xxx >= 63xxx) at input 0: '''''''
+par__--shellquote_command_len -Slo -j10 ' 8 7 parallel: Error: Command line too long (87xxx >= 63xxx) at input 0: ''''''''
+par__--shellquote_command_len -Slo -j10 ' 8 8 parallel: Error: Command line too long (262xxx >= 63xxx) at input 0: ''''''''
+par__--shellquote_command_len -Slo -j10 ' 8 9 parallel: Error: Command line too long (787xxx >= 63xxx) at input 0: ''''''''
+par__--shellquote_command_len -Slo -j10 ' 8 10 parallel: Error: Command line too long (2361xxx >= 63xxx) at input 0: ''''''''
+par__--shellquote_command_len -Slo -j10 ' 9 7 parallel: Error: Command line too long (98xxx >= 63xxx) at input 0: '''''''''
+par__--shellquote_command_len -Slo -j10 ' 9 8 parallel: Error: Command line too long (295xxx >= 63xxx) at input 0: '''''''''
+par__--shellquote_command_len -Slo -j10 ' 9 9 parallel: Error: Command line too long (885xxx >= 63xxx) at input 0: '''''''''
+par__--shellquote_command_len -Slo -j10 ' 9 10 parallel: Error: Command line too long (2657xxx >= 63xxx) at input 0: '''''''''
+par__--shellquote_command_len -Slo -j10 ' 10 7 parallel: Error: Command line too long (109xxx >= 63xxx) at input 0: ''''''''''
+par__--shellquote_command_len -Slo -j10 ' 10 8 parallel: Error: Command line too long (328xxx >= 63xxx) at input 0: ''''''''''
+par__--shellquote_command_len -Slo -j10 ' 10 9 parallel: Error: Command line too long (984xxx >= 63xxx) at input 0: ''''''''''
+par__--shellquote_command_len -Slo -j10 ' 10 10 parallel: Error: Command line too long (2952xxx >= 63xxx) at input 0: ''''''''''
par__--shellquote_command_len " 1 1 1 2 6
par__--shellquote_command_len " 1 2 1 2 12
par__--shellquote_command_len " 1 3 1 2 30
@@ -525,86 +513,86 @@
par__--shellquote_command_len ' 10 8 0 0 0
par__--shellquote_command_len ' 10 9 0 0 0
par__--shellquote_command_len ' 10 10 0 0 0
-par__--shellquote_command_len " 1 8 parallel: Error: Command line too long (65xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 1 9 parallel: Error: Command line too long (196xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 1 10 parallel: Error: Command line too long (590xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 2 8 parallel: Error: Command line too long (131xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 2 9 parallel: Error: Command line too long (393xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 2 10 parallel: Error: Command line too long (1180xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 3 7 parallel: Error: Command line too long (65xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 3 8 parallel: Error: Command line too long (196xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 3 9 parallel: Error: Command line too long (590xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 3 10 parallel: Error: Command line too long (1771xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 4 7 parallel: Error: Command line too long (87xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 4 8 parallel: Error: Command line too long (262xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 4 9 parallel: Error: Command line too long (787xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 4 10 parallel: Error: Command line too long (2361xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 5 7 parallel: Error: Command line too long (109xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 5 8 parallel: Error: Command line too long (328xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 5 9 parallel: Error: Command line too long (984xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 5 10 parallel: Error: Command line too long (2952xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 6 7 parallel: Error: Command line too long (131xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 6 8 parallel: Error: Command line too long (393xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 6 9 parallel: Error: Command line too long (1180xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 6 10 parallel: Error: Command line too long (3542xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 7 7 parallel: Error: Command line too long (153xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 7 8 parallel: Error: Command line too long (459xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 7 9 parallel: Error: Command line too long (1377xxx >= 64xxx) at input 0: "
-par__--shellquote_command_len " 7 10 parallel: Error: Command line too long (4133xxx >= 64xxx) at input 0: "
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh9
^
|
@@ -52,11 +52,9 @@
par_propagate_env FOO=test_zsh_filter
par_propagate_env HOME=~
par_propagate_env ** test_csh
-par_propagate_env MANPATH: Undefined variable.
par_propagate_env FOO=test_csh
par_propagate_env HOME=~
par_propagate_env ** test_csh_filter
-par_propagate_env MANPATH: Undefined variable.
par_propagate_env FOO=test_csh_filter
par_propagate_env HOME=~
par_propagate_env ** bug #41805 done
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local13
^
|
@@ -459,7 +459,7 @@
### true < 32767-ys.xi
stdout xargs true < 32767-ys.xi
stdout parallel -k true < 32767-ys.xi
-parallel: Error: Command line too long (65541 >= 64031) at input 0: y y y y y y y y y y y y y y y y y y y y y y y y y ...
+parallel: Error: Command line too long (65541 >= 63543) at input 0: y y y y y y y y y y y y y y y y y y y y y y y y y ...
echo '### true < 16383-ys.xi'
### true < 16383-ys.xi
stdout xargs true < 16383-ys.xi
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local21
^
|
@@ -100,8 +100,14 @@
par_shebang_wrap_nodejs Arguments [ 'arg2' ]
par_shebang_wrap_nodejs Arguments [ 'arg3.1 arg3.2' ]
par_shebang_wrap_octave Arguments arg1
+par_shebang_wrap_octave octave: X11 DISPLAY environment variable not set
+par_shebang_wrap_octave octave: disabling GUI features
par_shebang_wrap_octave Arguments arg2
+par_shebang_wrap_octave octave: X11 DISPLAY environment variable not set
+par_shebang_wrap_octave octave: disabling GUI features
par_shebang_wrap_octave Arguments arg3.1 arg3.2
+par_shebang_wrap_octave octave: X11 DISPLAY environment variable not set
+par_shebang_wrap_octave octave: disabling GUI features
par_shebang_wrap_perl Arguments arg1
par_shebang_wrap_perl Arguments arg2
par_shebang_wrap_perl Arguments arg3.1 arg3.2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local22
^
|
@@ -1,16 +1,16 @@
echo '### Test of xargs -m command lines > 130k'; seq 1 60000 | parallel -m -j1 echo a{}b{}c | tee >(wc >/tmp/awc$$) >(sort | md5sum) >/tmp/a$$; wait; CHAR=$(cat /tmp/a$$ | wc -c); LINES=$(cat /tmp/a$$ | wc -l); echo "Chars per line:" $(echo "$CHAR/$LINES" | bc); cat /tmp/awc$$; rm /tmp/a$$ /tmp/awc$$
### Test of xargs -m command lines > 130k
-2f0d9d11a071f5dbe6bd876a19499ff5 -
+183794839f45c8f7e38fe7c677c49958 -
Chars per line: 63437
11 119989 697810
echo '### Test of xargs -X command lines > 130k'; seq 1 60000 | parallel -X -j1 echo a{}b{}c | tee >(wc >/tmp/bwc$$) >(sort | (sleep 1; md5sum)) >/tmp/b$$; wait; CHAR=$(cat /tmp/b$$ | wc -c); LINES=$(cat /tmp/b$$ | wc -l); echo "Chars per line:" $(echo "$CHAR/$LINES" | bc); cat /tmp/bwc$$; rm /tmp/b$$ /tmp/bwc$$
### Test of xargs -X command lines > 130k
-42d5c115907de0044ef988a0639204cd -
+859ed2964e82dba118e92b1bedd2f84a -
Chars per line: 62906
13 60000 817788
echo '### Test of xargs -m command lines > 130k'; seq 1 60000 | parallel -k -j1 -m echo | md5sum
### Test of xargs -m command lines > 130k
-0896c693a7d42440f31c13c803d27df2 -
+00b654c29383f20646f694a54521c378 -
echo '### This causes problems if we kill child processes'; # 2>/dev/null to avoid parallel: Warning: Starting 45 processes took > 2 sec.
### This causes problems if we kill child processes
seq 2 40 | parallel -j 0 seq 1 10 2>/dev/null | sort | md5sum
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local23
^
|
@@ -59,9 +59,9 @@
echo '### bug #39787: --xargs broken'
### bug #39787: --xargs broken
nice perl -e 'for(1..30000){print "$_\n"}' | $NICEPAR --xargs -k echo | perl -ne 'print length $_,"\n"'
-64026
-64026
-40842
+63534
+63534
+41826
echo '### --delay should grow by 3 sec per arg'
### --delay should grow by 3 sec per arg
stdout /usr/bin/time -f %e parallel --delay 3 true ::: 1 2 | perl -ne '$_ >= 3 and $_ <= 8 and print "OK\n"'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-macos
^
|
@@ -1,79 +1,46 @@
-par_big_func 1 3XXX 90XXX
-par_big_func 1 3XXX 90XXX
-par_big_func 1 3XXX 90XXX
-par_big_func 1 1XXX 47XXX
-par_big_func_name 18XXX
-par_big_func_name 18XXX
-par_big_func_name 18XXX
-par_big_func_name 18XXX
-par_big_func_name 18XXX
-par_big_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
-par_big_var_func_name 18XXX
+par_big_func 1 3XXX 91XXX
+par_big_func 1 3XXX 91XXX
+par_big_func 1 3XXX 91XXX
+par_big_func 1 1XXX 46XXX
par_many_args 1 3XXX 6XXX
par_many_args 1 3XXX 6XXX
par_many_args 1 3XXX 6XXX
par_many_args 1 3XXX 6XXX
par_many_args 1 3XXX 6XXX
par_many_args 1 3XXX 6XXX
-par_many_args 1 1XXX 3XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 196 4XXX
-par_many_func 1 4 68
-par_many_var 22XXX
-par_many_var 22XXX
-par_many_var 22XXX
-par_many_var 22XXX
-par_many_var 22XXX
-par_many_var 22XXX
-par_many_var 22XXX
+par_many_args 1 1XXX 2XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 212 5XXX
+par_many_func 1 96 2XXX
par_many_var_big_func 5XXX
par_many_var_big_func 5XXX
par_many_var_big_func 5XXX
@@ -101,8 +68,6 @@
par_many_var_big_func 5XXX
par_many_var_big_func 5XXX
par_many_var_big_func 5XXX
-par_many_var_big_func 5XXX
-par_many_var_big_func 5XXX
-par_many_var_func 1 2XXX 58XXX
-par_many_var_func 1 2XXX 58XXX
-par_many_var_func 1 1XXX 42XXX
+par_many_var_func 1 2XXX 59XXX
+par_many_var_func 1 2XXX 59XXX
+par_many_var_func 1 1XXX 41XXX
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-remote1
^
|
@@ -115,8 +115,8 @@
par_special_ssh 99
par_special_ssh 100
par_timeout_retries ### test --timeout --retries
+par_timeout_retries ssh: connect to host 192.168.1.197 port 22: No route to host
par_timeout_retries
par_timeout_retries parallel: Warning: This job was killed because it timed out:
-par_timeout_retries parallel: Warning: ssh 192.168.1.197 echo 192.168.1.197
par_timeout_retries parallel: Warning: ssh 8.8.8.8 echo 8.8.8.8
par_timeout_retries vagrant@parallel-server1
par_timeout_retries vagrant@parallel-server2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-tutorial
^
|
@@ -1,14 +1,13 @@
### test parallel_tutorial
fetch -o - http://pi.dk/3 ) > install.sh
$ sha1sum install.sh
- 12345678 3374ec53 bacb199b 245af2dd a86df6c9
+ 12345678 51621b7f 1ee103c0 0783aae4 ef9889f8
$ md5sum install.sh
- 029a9ac0 6e8b5bc6 052eac57 b2c3c9ca
+ 62eada78 703b5500 241b8e50 baf62758
$ sha512sum install.sh
- 40f53af6 9e20dae5 713ba06c f517006d 9897747b ed8a4694 b1acba1b 1464beb4
- 60055629 3f2356f3 3e9c4e3c 76e3f3af a9db4b32 bd33322b 975696fc e6b23cfb
+ 160d3159 9480cf5c a101512f 150b7ac0 206a65dc 86f2bb6b bdf1a2bc 96bc6d06
+ 7f8237c2 0964b67f bccf8a93 332528fa 11e5ab43 2a6226a6 ceb197ab 7f03c061
$ bash install.sh
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
/usr/bin/bash: -c: line 1: ` fetch -o - http://pi.dk/3 ) > install.sh'
parallel -k echo ::: A B C > abc-file
parallel -k echo ::: D E F > def-file
@@ -23,7 +22,6 @@
/usr/bin/bash: -c: line 3: syntax error: unexpected end of file
sleep .3
perl -e 'for(1..10){print "$_\n"}') > num_%header
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
/usr/bin/bash: -c: line 1: ` perl -e 'for(1..10){print "$_\n"}') > num_%header'
perl -e 'print "HHHHAAABBBCCC"' > fixedlen
parallel echo ::: A B C
@@ -351,7 +349,6 @@
perl -e 'print "@ARGV\n"'
[CTRL-D]
/usr/bin/bash: line 2: Warning:: command not found
-/usr/bin/bash: -c: line 3: syntax error near unexpected token `('
/usr/bin/bash: -c: line 3: ` Warning: are doing (in which case: YOU ARE AWESOME!) or you forgot'
parallel --trim r echo pre-{}-post ::: ' A '
pre- A-post
@@ -364,26 +361,6 @@
=bash
=ls
parallel 'set a="{}"; if( { test -d "$a" } ) echo "$a is a dir"' ::: *
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="abc-file"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="abc0-file"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="abc_-file"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="def-file"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="fixedlen"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="num1000000"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="num30000"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="num8"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="outdir"; if( { test -d "$a" } ) echo "$a is a dir"'
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
-/usr/bin/bash: -c: line 1: `set a="tsv-file.tsv"; if( { test -d "$a" } ) echo "$a is a dir"'
parallel --tag echo foo-{} ::: A B C
A foo-A
B foo-B
@@ -644,21 +621,17 @@
run_on_grp2
echo This is input_file > input_file
parallel -S $SERVER1 --transferfile {} cat ::: input_file
-This is input_file
echo This is input_file > input_file
parallel -S $SERVER1 --transferfile {} --return {}.out \
cat {} ">"{}.out ::: input_file
cat input_file.out
-This is input_file
echo This is input_file > input_file
parallel -S $SERVER1 --transferfile {} --return {}.out --cleanup \
cat {} ">"{}.out ::: input_file
cat input_file.out
-This is input_file
echo This is input_file > input_file
parallel -S $SERVER1 --trc {}.out cat {} ">"{}.out ::: input_file
cat input_file.out
-This is input_file
echo common data > common_file
parallel --basefile common_file -S $SERVER1 \
cat common_file\; echo {} ::: foo
@@ -751,6 +724,8 @@
BASH_FUNC_run_once%%
BASH_FUNC_run_test%%
_
+mysqlrootpass
+oracle_password
qTMPDIR
qqTMPDIR
testsuitedir
@@ -1105,7 +1080,6 @@
Error: no such file "Arguments @ARGV\n"
#!/usr/bin/parallel --shebang-wrap /usr/bin/python
print 'Arguments', str(sys.argv)
-/usr/bin/bash: -c: line 4: syntax error near unexpected token `('
/usr/bin/bash: -c: line 4: ` print 'Arguments', str(sys.argv)'
#!/usr/bin/parallel --shebang-wrap /bin/bash
echo Arguments "$@"
@@ -1119,11 +1093,9 @@
#!/usr/bin/parallel --shebang-wrap /usr/bin/Rscript --vanilla --slave
args <- commandArgs(trailingOnly = TRUE)
print(paste("Arguments ",args))
-/usr/bin/bash: -c: line 3: syntax error near unexpected token `('
/usr/bin/bash: -c: line 3: ` args <- commandArgs(trailingOnly = TRUE)'
#!/usr/bin/parallel --shebang-wrap ARG={} /usr/bin/gnuplot
print "Arguments ", system('echo $ARG')
-/usr/bin/bash: -c: line 3: syntax error near unexpected token `('
/usr/bin/bash: -c: line 3: ` print "Arguments ", system('echo $ARG')'
#!/usr/bin/parallel --shebang-wrap /usr/bin/ruby
print "Arguments "
@@ -1138,7 +1110,6 @@
printf (" %s", arg_list{i});
endfor
printf ("\n");
-/usr/bin/bash: -c: line 3: syntax error near unexpected token `"Arguments"'
/usr/bin/bash: -c: line 3: ` printf ("Arguments");'
#!/usr/bin/parallel --shebang-wrap /usr/bin/clisp
(format t "~&~S~&" 'Arguments)
@@ -1156,12 +1127,10 @@
?>
Arguments
/usr/bin/bash: line 2: ?php: No such file or directory
-/usr/bin/bash: -c: line 4: syntax error near unexpected token `array_slice'
/usr/bin/bash: -c: line 4: ` foreach(array_slice($argv,1) as $v)'
#!/usr/bin/parallel --shebang-wrap /usr/bin/node
var myArgs = process.argv.slice(2);
console.log('Arguments ', myArgs);
-/usr/bin/bash: -c: line 1: syntax error near unexpected token `('
/usr/bin/bash: -c: line 1: ` var myArgs = process.argv.slice(2);'
#!/usr/bin/parallel --shebang-wrap /usr/bin/lua
io.write "Arguments"
@@ -1171,12 +1140,10 @@
end
print(")
/usr/bin/bash: line 3: io.write: command not found
-/usr/bin/bash: -c: line 4: syntax error near unexpected token `='
/usr/bin/bash: -c: line 4: ` for a = 1, #arg do'
#!/usr/bin/parallel --shebang-wrap ARGV={} /usr/bin/csharp
var argv = Environment.GetEnvironmentVariable("ARGV");
print("Arguments "+argv);
-/usr/bin/bash: -c: line 3: syntax error near unexpected token `('
/usr/bin/bash: -c: line 3: ` var argv = Environment.GetEnvironmentVariable("ARGV");'
sem 'sleep 1; echo The first finished' &&
echo The first is now running in the background &&
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/sql01
^
|
@@ -53,16 +53,16 @@
par_-r [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
par_-r psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
par_-r Is the server running on that host and accepting TCP/IP connections?
+par__listproc ### Test --show-processlist|proclist|listproc
+par__listproc 2 17
+par__listproc 2 17
+par__listproc 2 17
par_dbsize ### Test --db-size --dbsize
par_dbsize 6
par_dbsize 6
par_dburl_user_password_host_port ### Test dburl with username password host port
par_dburl_user_password_host_port Test dburl with username password host port
par_dburl_user_password_host_port OK
-par_listproc ### Test --show-processlist|proclist|listproc
-par_listproc 3 32
-par_listproc 2 17
-par_listproc 2 17
par_noheaders ### Test --noheaders --no-headers -n
par_noheaders abc 1
par_noheaders def 3
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/sql02
^
|
@@ -8,7 +8,8 @@
par_influx name
par_influx ----
par_influx _internal
-par_influx tange
+par_influx mydb
+par_influx myinflux
par_influx parallel
par_influx name: cpu
par_influx time host region value
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test17
^
|
@@ -4,25 +4,25 @@
file>fire
file : & ) \n*.jpg
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
ls: /tmp/parallel.file*: No such file or directory
### --transfer - relpath
file>fire
file : & ) \n*.jpg
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
ls: tmp/parallel.file*: No such file or directory
### --transfer --cleanup - abspath
file>fire
file : & ) \n*.jpg
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
ls: /tmp/parallel.file*: No such file or directory
### --transfer --cleanup - relpath
file>fire
file : & ) \n*.jpg
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -61,7 +61,7 @@
/tmp/parallel.file>fire.file.done
/tmp/parallel.file>fire.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
@@ -71,7 +71,7 @@
/tmp/parallel.file>fire.file.done
/tmp/parallel.file>fire.out
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -80,7 +80,7 @@
/tmp/parallel.file : & ) \n*.jpg.out
/tmp/parallel.file>fire.file.done
/tmp/parallel.file>fire.out
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -90,7 +90,7 @@
/tmp/parallel.file>fire.file.done
/tmp/parallel.file>fire.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
@@ -100,7 +100,7 @@
tmp/parallel.file>fire.file.done
tmp/parallel.file>fire.out
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -110,7 +110,7 @@
/tmp/parallel.file>fire.file.done
/tmp/parallel.file>fire.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test21
^
|
@@ -3,28 +3,28 @@
134332 134332 940324
1
1
-centos39-oracle817.local
+centos8.localdomain
+freebsd12.localdomain
hostname; echo 1
hostname; echo 1
-rhel8.localdomain
### Test $PARALLEL - multi line
1
1
-centos39-oracle817.local
+centos8.localdomain
+freebsd12.localdomain
hostname; echo 1
hostname; echo 1
-rhel8.localdomain
### Test ~/.parallel/config - single line
1
1
-centos39-oracle817.local
+centos8.localdomain
+freebsd12.localdomain
hostname; echo 1
hostname; echo 1
-rhel8.localdomain
### Test ~/.parallel/config - multi line
1
1
-centos39-oracle817.local
+centos8.localdomain
+freebsd12.localdomain
hostname; echo 1
hostname; echo 1
-rhel8.localdomain
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test23
^
|
@@ -13,9 +13,9 @@
script1 run 5
script2 run 5
good if no file
-ls: script1: No such file or directory
+ls: cannot access 'script1': No such file or directory
OK
-ls: script2: No such file or directory
+ls: cannot access 'script2': No such file or directory
OK
### Test --basefile + --sshlogin :
1
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test47
^
|
@@ -4,25 +4,25 @@
file1
file2
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
ls: /tmp/parallel.file*: No such file or directory
### --transfer - relpath
file1
file2
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
ls: tmp/parallel.file*: No such file or directory
### --transfer --cleanup - abspath
file1
file2
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
ls: /tmp/parallel.file*: No such file or directory
### --transfer --cleanup - relpath
file1
file2
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -43,7 +43,7 @@
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
@@ -53,7 +53,7 @@
tmp/parallel.file2.file.done
tmp/parallel.file2.out
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -63,7 +63,7 @@
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -73,7 +73,7 @@
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
@@ -83,7 +83,7 @@
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -92,7 +92,7 @@
/tmp/parallel.file1.out
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -102,7 +102,7 @@
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
@@ -112,7 +112,7 @@
tmp/parallel.file2.file.done
tmp/parallel.file2.out
good if no file
-ls: tmp/parallel.file*: No such file or directory
+ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
ls: tmp/parallel.file*: No such file or directory
OK
@@ -122,7 +122,7 @@
/tmp/parallel.file2.file.done
/tmp/parallel.file2.out
good if no file
-ls: /tmp/parallel.file*: No such file or directory
+ls: cannot access '/tmp/parallel.file*': No such file or directory
OK
ls: /tmp/parallel.file*: No such file or directory
OK
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test60
^
|
@@ -1,17 +1,17 @@
par_nonall ### Test --nonall
-par_nonall centos39-oracle817.local
-par_nonall freebsd12.localdomain
+par_nonall centos8.localdomain
+par_nonall freebsd13.localdomain
par_nonall_basefile ### Test --nonall --basefile
par_nonall_basefile /tmp/nonall--basefile
par_nonall_basefile /tmp/nonall--basefile
par_nonall_sshloginfile_stdin ### Test read sshloginfile from STDIN
-par_nonall_sshloginfile_stdin centos39-oracle817.local
-par_nonall_sshloginfile_stdin centos39-oracle817.local
+par_nonall_sshloginfile_stdin centos8.localdomain
+par_nonall_sshloginfile_stdin centos8.localdomain
par_nonall_u ### Test --nonall -u - should be interleaved x y x y
-par_nonall_u 1 centos39-oracle817.local
-par_nonall_u 1 centos39-oracle817.local
-par_nonall_u 1 freebsd12.localdomain
-par_nonall_u 1 freebsd12.localdomain
+par_nonall_u 1 centos8.localdomain
+par_nonall_u 1 centos8.localdomain
+par_nonall_u 1 freebsd13.localdomain
+par_nonall_u 1 freebsd13.localdomain
par_onall ### Test --onall
par_onall 1
par_onall 2
|