[-]
[+]
|
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">20230522+git1</param>
+ <param name="revision">20231122+git1</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
|
Deleted |
_service:tar_git:parallel-20230522+git1.tar.bz2/upstream/testsuite/input-files/random_dirs_no_newline.tar.bz2
^
|
[-]
[+]
|
Deleted |
_service:tar_git:parallel-20230522+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local104.sh
^
|
@@ -1,48 +0,0 @@
-#!/bin/bash
-
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
-pwd=$(pwd)
-# If not run in dir parallel/testsuite: set testsuitedir to path of testsuite
-testsuitedir=${testsuitedir:-$pwd}
-rm -rf tmp 2>/dev/null
-(
- cd "$testsuitedir"/input-files
- tar xjf random_dirs_no_newline.tar.bz2
-)
-cp -a "$testsuitedir"/input-files/random_dirs_no_newline tmp
-cd tmp
-
-echo '### Tests if special dir names causes problems'
-ls | parallel -v touch -- {}/abc-{}-{} 2>&1 | perl -e 'print sort (<>)' | md5sum
-echo -n 'There are '
-find . -type d -print0 | perl -0 -ne '$a++;END{print $a}'
-echo -n ' dirs with '
-find . -type f -print0 | perl -0 -ne '$a++;END{print $a}'
-echo ' files'
-echo 'Removing files'
-ls | parallel -v rm -- {}/abc-{}-{} 2>&1 | perl -e 'print sort (<>)' | md5sum
-echo -n 'There are '
-find . -type d -print0 | perl -0 -ne '$a++;END{print $a}'
-echo -n ' dirs with '
-find . -type f -print0 | perl -0 -ne '$a++;END{print $a}'
-echo ' files'
-echo 'Removing dirs'
-ls | parallel -v rmdir -- {} 2>&1 | perl -e 'print sort (<>)' | md5sum
-echo -n 'There are '
-find . -type d -print0 | perl -0 -ne '$a++;END{print $a}'
-echo -n ' dirs with '
-find . -type f -print0 | perl -0 -ne '$a++;END{print $a}'
-echo ' files'
-echo '### Tests name ending in \n causes problems'
-echo newline1 >'newline1
-'
-echo newline2 >'newline2
-'
-find newli* -print0 | parallel -0 cat {} ">" {}.bak
-find newli* -print0 | sort -z
-
-cd ..
-rm -rf tmp
|
[-]
[+]
|
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
^
|
@@ -157,7 +157,7 @@
done | $(am__uniquify_input)`
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in NEWS \
- README install-sh missing
+ README TODO install-sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -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,86 @@
+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:
+
+* Time functions (e.g. yyyymmdd($secs) ) can now take secs since epoch as argument.
+
+* Bug fixes and man page updates.
+
+
+20230622
+
+New in this release:
+
+* Bug fixes and man page updates.
+
+News about GNU Parallel:
+
+* Run faster in the terminal with Gnu Parallel https://www.youtube.com/watch?v=fSYVYsKXWP0
+
+* Building an (Evil) Android Phone Bot Army http://blog.faucher.net/2023/05/building-evil-android-phone-bot-army.html
+
+
20230522
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-20230522.tar.bz2
- wget https://ftpmirror.gnu.org/parallel/parallel-20230522.tar.bz2.sig
- gpg parallel-20230522.tar.bz2.sig
- bzip2 -dc parallel-20230522.tar.bz2 | tar xvf -
- cd parallel-20230522
+ 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-20230522.tar.bz2
- wget https://ftpmirror.gnu.org/parallel/parallel-20230522.tar.bz2.sig
- gpg parallel-20230522.tar.bz2.sig
- bzip2 -dc parallel-20230522.tar.bz2 | tar xvf -
- cd parallel-20230522
+ 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, May 22). GNU Parallel 20230522 ('Charles').
- Zenodo. https://doi.org/10.5281/zenodo.7958356
+ 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 20230522.
+# 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='20230522'
-PACKAGE_STRING='parallel 20230522'
+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 20230522 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 20230522:";;
+ 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 20230522
+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 20230522, 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='20230522'
+ 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 20230522, 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 20230522
+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],[20230522],[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
^
|
@@ -4,21 +4,8 @@
Quote of the month:
-
- gnu parallel is actually like. really easy
- -- tom (era) @slimefiend@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
-
+ GNU parallel ftw
+ -- hostux.social/@rmpr @_paulmairo@twitter
--line-buffer, a flag
parallel, now more precise
@@ -28,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
@@ -228,6 +213,26 @@
=== 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
+
+ gnu parallel is actually like. really easy
+ -- tom (era) @slimefiend@twitter
+
Recently learned how to use GNU parallel (from ChatGPT, no less!) and I've gone mad with power
-- Mark, Anthropomorphic Anuran @reject_resubmit@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/
@@ -105,6 +115,7 @@
. .last-doitag.txt
file_path="`pwd`/parallel-$YYYYMMDD.tar.bz2"
title="GNU Parallel $YYYYMMDD ('$SPCTAG') [stable]"
+
title="GNU Parallel $YYYYMMDD ('$SPCTAG')"
name="GNU-Parallel-$YYYYMMDD-$TAG"
author="Ole Tange"
@@ -263,38 +274,27 @@
to:parallel@gnu.org, bug-parallel@gnu.org
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
-Subject: GNU Parallel 20230522 ('Charles') released [stable]
+Subject: GNU Parallel 20231122 ('Perry<<>>') released <<[stable]>>
-GNU Parallel 20230522 ('Charles') 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:
- Recently learned how to use GNU parallel (from ChatGPT, no less!) and I've gone mad with power
- -- Mark, Anthropomorphic Anuran @reject_resubmit@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:
-* No new features. This is a candidate for a stable 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:
-* Introduction to parallel computing https://youtu.be/fvrHXV8yqU4?t=2874
-
-* Script for summarizing GNU parallel joblog file https://github.com/gavinmdouglas/parallel_joblog_summary
-
-* How to copy a single file to multiple directories in Linux or Unix https://www.cyberciti.biz/faq/linux-unix-copy-a-file-to-multiple-directories-using-cp-command/
-
-* Search in your Jupyter notebooks from the CLI, fast. https://dev.to/attilavm/search-in-your-jupyter-notebooks-from-the-cli-fast-1408
-
-* Parallel Job Orchestration with GNU Parallel https://www.youtube.com/watch?v=2tVpUfND3LI
-
-* Optional Individual Submission 4 Job Handling 20266001 - GNU Parallel https://www.youtube.com/watch?v=eC_RPuFCcU8
-
-* DOE Cross-facility Workflows Training - April 12, 2023 https://www.youtube.com/watch?v=Ke3sirM-aQQ
-
-* How to run MiXCR 4.x on multiple patient samples using GNU Parallel https://www.youtube.com/watch?v=OXg-WHlB_dk
+* 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,7 +1,8 @@
-<directory name="parallel" rev="362" vrev="2" srcmd5="4c35e54a8a572db4bd70dbf4e3cd3e2d">
- <entry name="PKGBUILD" md5="bd771f3fadb24d5f4c3847113ecac698" size="1246" mtime="1684784391" />
- <entry name="parallel-20230522.tar.bz2" md5="a25c77e65e0e3c269514381c01bdb049" size="2495738" mtime="1684784391" />
- <entry name="parallel.spec" md5="e78eb660abc88e51a6bd43e9321b2285" size="6224" mtime="1684784391" />
- <entry name="parallel_20230522.dsc" md5="b87ba7da6b01101b2619a9bea59e910b" size="556" mtime="1684784391" />
- <entry name="parallel_20230522.tar.gz" md5="1820fdc6713245eb1122fdf27f552892" size="2777335" mtime="1684784392" />
+<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: 20230522
+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 20230522 (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 20230522 (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 20230522 (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 20230522 (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 20230522 (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 20230522 (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 20230522 (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 = 20230522;
+$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
^
|
@@ -18,7 +18,7 @@
# or write to the Free Software Foundation, Inc., 51 Franklin St,
# Fifth Floor, Boston, MA 02110-1301 USA
#
-# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2007-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
# SPDX-License-Identifier: GPL-3.0-or-later
# open3 used in Job::start
@@ -2248,6 +2248,7 @@
}
::debug("init","Global::shell $Global::shell\n");
$Global::cshell = $Global::shell =~ m:(/[-a-z]*)?csh:;
+ $Global::fish = $Global::shell =~ m:(/[-a-z]*)?fish:;
if(defined $opt::_parset) { parse_parset(); }
if(defined $opt::X) { $Global::ContextReplace = 1; }
if(defined $opt::silent) { $Global::verbose = 0; }
@@ -2521,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; }
@@ -2630,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.
@@ -2640,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();
@@ -2799,7 +2798,7 @@
sub init_globals() {
# Defaults:
- $Global::version = 20230522;
+ $Global::version = 20231122;
$Global::progname = 'parallel';
$::name = "GNU Parallel";
$Global::infinity = 2**31;
@@ -3523,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;
}
- push @new_argv, $arg;
+ return @cmd_template;
}
- # Output: @ARGV = command to run with options
- return @new_argv;
+ 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
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/src/parallel.pod
^
|
@@ -330,71 +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:
-=item Z<> B<yyyy_mm_dd_hh_mm_ss()>
+ parallel echo '{= $arg[1] >= $arg[2] and skip =}' \
+ ::: 1 2 3 ::: 2 3 4
-=item Z<> B<yyyy_mm_dd_hh_mm()>
+=item Z<> B<yyyy_mm_dd_hh_mm_ss(sec)>
-=item Z<> B<yyyy_mm_dd()>
+=item Z<> B<yyyy_mm_dd_hh_mm(sec)>
-=item Z<> B<hh_mm_ss()>
+=item Z<> B<yyyy_mm_dd(sec)>
-=item Z<> B<hh_mm()>
+=item Z<> B<hh_mm_ss(sec)>
-=item Z<> B<yyyymmddhhmmss()>
+=item Z<> B<hh_mm(sec)>
-=item Z<> B<yyyymmddhhmm()>
+=item Z<> B<yyyymmddhhmmss(sec)>
-=item Z<> B<yyyymmdd()>
+=item Z<> B<yyyymmddhhmm(sec)>
-=item Z<> B<hhmmss()>
+=item Z<> B<yyyymmdd(sec)>
-=item Z<> B<hhmm()>
+=item Z<> B<hhmmss(sec)>
-time functions
+=item Z<> B<hhmm(sec)>
+
+Time functions. I<sec> is number of seconds since epoch. If left out
+it will use current local time. Example:
+
+ parallel echo 'Now: {= $_=yyyy_mm_dd_hh_mm_ss() =}' ::: Dummy
+ parallel echo 'The end: {= $_=yyyy_mm_dd_hh_mm_ss($_) =}' \
+ ::: 2147483648
=back
@@ -405,6 +434,7 @@
seq 50 | parallel echo job {#} of {= '$_=total_jobs()' =}
See also: B<--rpl> B<--parens> B<{}> B<{=>I<n> I<perl expression>B<=}>
+B<--filter>
=item B<{=>I<n> I<perl expression>B<=}>
@@ -506,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
@@ -523,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<:::>
@@ -1048,11 +1080,22 @@
I<filter> can contain replacement strings and Perl code. Example:
- parallel --filter '{1} < {2}+1' echo ::: {1..3} ::: {1..3}
+ parallel --filter '{1}+{2}+{3} < 10' echo {1},{2},{3} \
+ ::: {1..10} ::: {3..8} ::: {3..10}
+
+Outputs: 1,3,3 1,3,4 1,3,5 1,4,3 1,4,4 1,5,3 2,3,3 2,3,4 2,4,3 3,3,3
-Outputs: 1,1 1,2 1,3 2,2 2,3 3,3
+ parallel --filter '{1} < {2}*{2}' echo {1},{2} \
+ ::: {1..10} ::: {1..3}
-See also: B<skip()> B<--no-run-if-empty>
+Outputs: 1,2 1,3 2,2 2,3 3,2 3,3 4,3 5,3 6,3 7,3 8,3
+
+ parallel --filter '{choose_k}' --plus echo {1},{2},{3} \
+ ::: {1..5} ::: {1..5} ::: {1..5}
+
+Outputs: 1,2,3 1,2,4 1,2,5 1,3,4 1,3,5 1,4,5 2,3,4 2,3,5 2,4,5 3,4,5
+
+See also: B<skip()> B<--no-run-if-empty> B<{choose_k}>
=item B<--filter-hosts>
@@ -1375,13 +1418,13 @@
See also: B<--resume> B<--resume-failed>
-=item B<--jobs> I<num> (alpha testing)
+=item B<--jobs> I<num>
-=item B<-j> I<num> (alpha testing)
+=item B<-j> I<num>
-=item B<--max-procs> I<num> (alpha testing)
|
[-]
[+]
|
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 - - -
@@ -4084,8 +4084,204 @@
(Last checked: 2023-05)
+=head2 DIFFERENCES BETWEEN korovkin-parallel AND GNU Parallel
+
+Summary (see legend above):
+
+=over
+
+=item I1 - - - - - -
+
+=item M1 - - - - M6
+
+=item - - O3 - - - - x x -
+
+=item E1 - - - - - -
+
+=item R1 - - - - R6 x x -
+
+=item - -
+
+=back
+
+B<korovkin-parallel> prepends all lines with some info.
+
+The output is colored with 6 color combinations, so job 1 and 7 will
+get the same color.
+
+You can get similar output with:
+
+ (echo ...) |
+ parallel --color -j 10 --lb --tagstring \
+ '[l:{#}:{=$_=sprintf("%7.03f",::now()-$^T)=} {=$_=hh_mm_ss($^T)=} {%}]'
+
+Lines longer than 8192 chars are broken into lines shorter than
+8192. B<korovkin-parallel> loses the last char for lines exactly 8193
+chars long.
+
+Short lines from different jobs do not mix, but long lines do:
+
+ fun() {
+ perl -e '$a="'$1'"x1000000; for(1..'$2') { print $a };';
+ echo;
+ }
+ export -f fun
+ (echo fun a 100;echo fun b 100) | korovkin-parallel | tr -s abcdef
+ # Compare to:
+ (echo fun a 100;echo fun b 100) | parallel | tr -s abcdef
+
+There should be only one line of a's and one line of b's.
+
+Just like GNU B<parallel> B<korovkin-parallel> offers a master/slave
+model, so workers on other servers can do some of the tasks. But
+contrary to GNU B<parallel> you must manually start workers on these
+servers. The communication is neither authenticated nor encrypted.
+
+It caches output in RAM: a 1GB line uses ~2.5GB RAM
+
+https://github.com/korovkin/parallel
+(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
|
[-]
[+]
|
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
^
|
@@ -30,7 +30,7 @@
=over 4
-=item B<--parallel=>I<N> (beta testing)
+=item B<--parallel=>I<N>
Change the number of sorts run concurrently to I<N>. I<N> will be
increased to number of files if B<parsort> is given more than I<N>
@@ -137,7 +137,7 @@
"help" => \$opt::dummy,
) || exit(255);
$Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1];
-$Global::version = 20230522;
+$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 = 20230522;
+ $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/Makefile
^
|
@@ -120,9 +120,9 @@
grep -Ev "${ignore}"
startvm:
- parallel --tag -k '${start}' ::: centos8 freebsd11 freebsd12 rhel8 centos3 &
+ parallel -j0 --tag -k '${start}' ::: centos8 freebsd13 freebsd12 rhel8 centos3 &
stopvm:
- parallel --tag -k '${stop}' ::: centos8 freebsd11 freebsd12 rhel8 centos3 || true
+ parallel -j0 --tag -k '${stop}' ::: centos8 freebsd13 freebsd12 rhel8 centos3 || true
startdb:
true TODO should start Oracle in vagrant
|
[-]
[+]
|
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 &
}
@@ -107,9 +109,20 @@
# test it works: sql oracle://
}
+setup_virtual_box_network() {
+ echo "Adding IP-range to virtualbox"
+ sudo mkdir -p /etc/vbox
+ (cat; echo '* 172.27.27.0/24') < /etc/vbox/networks.conf | uniq |
+ sudo tee /etc/vbox/networks.conf
+}
+
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`
@@ -130,18 +143,80 @@
}
add_server_to_hosts() {
- # Insert 127.1.2.3 server in /etc/hosts
- if grep -q 127.1.2.3 /etc/hosts; then
- # skip
- true
- else
- printf "127.1.2.3\tserver\n" |
- sudo tee -a /etc/hosts
- fi
+ add_ssh_key_to_authorized() {
+ (cat vagrant/authorized_keys; cat ~/.ssh/*.pub) |
+ uniq > vagrant/authorized_keys.$$
+ mv vagrant/authorized_keys.$$ vagrant/authorized_keys
+
+ # Fix:
+ # 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
+#
+ }
+
+ insert_in_etc_hosts() {
+ ip=$1
+ host=$2
+ if grep -q $1 /etc/hosts && grep -q $2 /etc/hosts ; then
+ # skip
+ true
+ else
+ printf "$1\t$2\n" |
+ sudo tee -a /etc/hosts
+ fi
+ }
+ export -f insert_in_etc_hosts
+ 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/';
+ }
+ insert_in_etc_hosts $(vagrant_ip $1) $1
+ }
+ export -f add_single_vagrant_to_etc_hosts
+
+ add_ssh_key_to_authorized
+ insert_in_etc_hosts 127.1.2.3 server
+
+ 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
@@ -171,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"
}
@@ -275,6 +350,21 @@
ssh -l $1 lo 'cat >>.ssh/authorized_keys'
}
export -f export_key_to_local_users
+ # lsh: Protocol error: No common key exchange method.
+ # It seems
+ # $ lsh --list-algorithms
+ # Supported hostkey algorithms: ssh-dss, spki, none
+ #
+ # $ nmap --script ssh2-enum-algos -sV -p 22 lo
+ # | server_host_key_algorithms: (4)
+ # | rsa-sha2-512
+ # | rsa-sha2-256
+ # | ecdsa-sha2-nistp256
+ # | ssh-ed25519
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/niceload01.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/niceload02.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -19,10 +19,16 @@
# It should be suspended so it at least takes 5 seconds
stdout /usr/bin/time -f %e niceload -l 8 -p $! | perl -ne '$_ >= 5 and print "OK\n"'
-echo "### Test --sensor -l negative"
-# When the size is bigger, then run
-SIZET=/tmp/parallel_sizetest
-rm -f $SIZET
-tmux new-session -d -n 10 "seq 10000 | pv -qL 1000 > $SIZET"
-niceload -t .01 --sensor "stat -c %b $SIZET" -l -10 "stat -c %b $SIZET"
-rm $SIZET
+par_sensor_-l_negative() {
+ echo "### Test --sensor -l negative"
+ # When the size is bigger, then run
+ TMPDIR=/tmp
+ sizet=$(mktemp)
+ rm -f "$sizet"
+ tmux new-session -d -n 10 "seq 10000 | pv -qL 1000 > $sizet"
+ niceload -t .01 --sensor "stat -c %b $sizet" -l -10 "stat -c %b $sizet" |
+ perl -ne 'print (($_ >= 10) ? "OK\n" : "Fail: $_\n" )'
+ rm "$sizet"
+}
+
+par_sensor_-l_negative
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/niceload03.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/niceload04.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-android.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-centos3.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -14,6 +14,8 @@
# user vagrant
# add this to: /etc/ssh/sshd_config on 172.27.27.1
+# KexAlgorithms +diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
+# Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
# HostKeyAlgorithms +ssh-rsa
# and:
# systemctl restart sshd
@@ -31,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
@@ -57,13 +59,12 @@
testsuitedir=${testsuitedir:-$pwd}
cd $testsuitedir
# Copy binaries to server
- cd testsuite/vagrant/tange/centos3/ 2>/dev/null
- cd vagrant/tange/centos3/ 2>/dev/null
- cd ../vagrant/tange/centos3/ 2>/dev/null
- cd ../../../..
+ cd testsuite/ 2>/dev/null
+ cd ..
ssh $SSHLOGIN1 'mkdir -p .parallel bin; touch .parallel/will-cite'
scp -q .*/src/{parallel,sem,sql,niceload,env_parallel*} $SSHLOGIN1:bin/
ssh $SSHLOGIN1 'echo PATH=\$PATH:\$HOME/bin >> .bashrc'
+ ssh $SSHLOGIN1 '[ -e .ssh/id_rsa.pub ] || ssh-keygen -t rsa -P "" -f .ssh/id_rsa'
# Allow login from centos3 to $SSHLOGIN2 (that is shellshock hardened)
ssh $SSHLOGIN1 cat .ssh/id_rsa.pub | ssh $SSHLOGIN2 'cat >>.ssh/authorized_keys'
ssh $SSHLOGIN1 'cat .ssh/id_rsa.pub >>.ssh/authorized_keys; chmod 600 .ssh/authorized_keys'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-freebsd.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -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-install.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-0.3s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-100s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-10s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -8,6 +8,17 @@
# Each should be taking 10-30s and be possible to run in parallel
# I.e.: No race conditions, no logins
+par_tee_too_many_args() {
+ echo '### Fail if there are more arguments than --jobs'
+ seq 11 | stdout parallel -k --tag --pipe -j4 --tee grep {} ::: {1..4}
+ tmp=`mktemp`
+ seq 11 | parallel -k --tag --pipe -j0 --tee grep {} ::: {1..10000} 2> "$tmp"
+ cat "$tmp" | perl -pe 's/\d+/999/g' |
+ grep -v 'Warning: Starting' |
+ grep -v 'Warning: Consider'
+ rm "$tmp"
+}
+
par_retries_0() {
echo '--retries 0 = inf'
echo this wraps at 256 and should retry until it wraps
@@ -25,55 +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__keeporder_roundrobin() {
- echo 'bug #50081: --keep-order --round-robin should give predictable results'
- . `which env_parallel.bash`
-
- run_roundrobin() {
- random1G() {
- < /dev/zero openssl enc -aes-128-ctr -K 1234 -iv 1234 2>/dev/null |
- head -c 1G;
- }
- random1G |
- parallel $1 -j13 --block 1m --pipe --roundrobin 'echo {#} $(md5sum)' |
- sort
- }
- env_parset a,b,c run_roundrobin ::: -k -k ''
-
- if [ "$a" == "$b" ] ; then
- # Good: -k should be == -k
- if [ "$a" == "$c" ] ; then
- # Bad: without -k the command should give different output
- echo 'Broken: a == c'
- printf "$a\n$b\n$c\n"
- else
- echo OK
- fi
- else
- echo 'Broken: a <> b'
- printf "$a\n$b\n$c\n"
- fi
-}
-
par__load_from_PARALLEL() {
echo "### Test reading load from PARALLEL"
export PARALLEL="--load 300%"
@@ -88,6 +50,7 @@
par_quote_special_results() {
echo "### Test --results on file systems with limited UTF8 support"
+ export LC_ALL=C
doit() {
mkfs=$1
img=$(mktemp /dev/shm/par-test-loop-XXXX.img)
@@ -115,12 +78,12 @@
rm "$img"
}
export -f doit
- stdout parallel -k --tag --plus doit ::: \
+ stdout parallel --timeout 1000% -k --tag --plus doit ::: \
mkfs.btrfs mkfs.exfat mkfs.ext2 mkfs.ext3 mkfs.ext4 \
"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 GB/s UUID Binutils
+ G -v MB/s -v GB/s -v UUID -v Binutils -v 150000 -v exfatprogs
# Skip:
# mkfs.bfs - ro
# mkfs.cramfs - ro
@@ -159,23 +122,6 @@
/\S/ && print'| sort -u
}
-par_reload_slf_every_second() {
- echo "### --slf should reload every second"
- tmp=$(mktemp)
- echo 1/lo >"$tmp"
- (
- sleep 3
- (echo 1/localhost
- echo 1/127.0.0.1) >>"$tmp"
- ) &
- # This used to take 20 seconds (version 20220322) because the
- # updated --slf would only read after first job finished
- seq 3 |
- stdout /usr/bin/time -f %e parallel --slf "$tmp" 'true {};sleep 10' |
- perl -ne '$_ < 20 and print "OK\n"'
- rm "$tmp"
-}
-
par_load_blocks() {
echo "### Test if --load blocks. Bug.";
export PARALLEL="--load 300%"
@@ -332,7 +278,9 @@
}
export -f doit
stdout parallel -vk --header : --argsep ,,, \
- parallel -k {tag} {lb} {files} --compress --compress-program {comp} --decompress-program {decomp} doit ::: C={comp},D={decomp} \
+ stdout parallel -k {tag} {lb} {files} --compress \
+ --compress-program {comp} --decompress-program {decomp} doit \
+ ::: C={comp},D={decomp} \
,,, tag --tag -k \
,,, lb --line-buffer -k \
,,, files --files0 -k \
@@ -354,30 +302,6 @@
doit
}
-par_perlexpr_repl() {
- echo '### {= and =} in different groups separated by space'
- parallel echo {= s/a/b/ =} ::: a
- parallel echo {= s/a/b/=} ::: a
- parallel echo {= s/a/b/=}{= s/a/b/=} ::: a
- parallel echo {= s/a/b/=}{=s/a/b/=} ::: a
- parallel echo {= s/a/b/=}{= {= s/a/b/=} ::: a
- parallel echo {= s/a/b/=}{={=s/a/b/=} ::: a
- parallel echo {= s/a/b/ =} {={==} ::: a
- parallel echo {={= =} ::: a
- parallel echo {= {= =} ::: a
- parallel echo {= {= =} =} ::: a
-
- echo '### bug #45842: Do not evaluate {= =} twice'
- parallel -k echo '{= $_=++$::G =}' ::: {1001..1004}
- parallel -k echo '{=1 $_=++$::G =}' ::: {1001..1004}
- parallel -k echo '{= $_=++$::G =}' ::: {1001..1004} ::: {a..c}
- parallel -k echo '{=1 $_=++$::G =}' ::: {1001..1004} ::: {a..c}
-
- echo '### bug #45939: {2} in {= =} fails'
- parallel echo '{= s/O{2}//=}' ::: OOOK
- parallel echo '{2}-{=1 s/O{2}//=}' ::: OOOK ::: OK
-}
-
par_END() {
echo '### Test -i and --replace: Replace with argument'
(echo a; echo END; echo b) | parallel -k -i -eEND echo repl{}ce
@@ -477,17 +401,6 @@
(seq 1 10; echo 1234; seq 12 15) | stdsort xargs -s 10 -x echo
}
-par_sem_2jobs() {
- echo '### Test semaphore 2 jobs running simultaneously'
- parallel --semaphore --id 2jobs -u -j2 'echo job1a 1; sleep 4; echo job1b 3'
- sleep 0.5
- parallel --semaphore --id 2jobs -u -j2 'echo job2a 2; sleep 4; echo job2b 5'
- sleep 0.5
- parallel --semaphore --id 2jobs -u -j2 'echo job3a 4; sleep 4; echo job3b 6'
- parallel --semaphore --id 2jobs --wait
- echo done
-}
-
par_line_buffer() {
echo "### --line-buffer"
tmp1=$(mktemp)
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-1s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -8,6 +8,15 @@
# Each should be taking 1-3s and be possible to run in parallel
# I.e.: No race conditions, no logins
+par_citation_no_config_dir() {
+ echo '### bug #64329: parallel --citation will loop forever unless the config dir exists'
+ t=$(mktemp -d)
+ echo "This should only ask once"
+ echo will cite | HOME="$t" stdout parallel --citation |
+ grep "Type: 'will cite' and press enter."
+ rm -r "$t"
+}
+
par_tagstring() {
echo '### Test --tagstring'
parallel -j1 -X -v --tagstring a{}b echo ::: 3 4
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-300s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-30s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -8,6 +8,72 @@
# 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`
+
+ run_roundrobin() {
+ random1G() {
+ < /dev/zero openssl enc -aes-128-ctr -K 1234 -iv 1234 2>/dev/null |
+ head -c 1G;
+ }
+ random1G |
+ parallel $1 -j13 --block 1m --pipe --roundrobin 'echo {#} $(md5sum)' |
+ sort
+ }
+ env_parset a,b,c run_roundrobin ::: -k -k ''
+
+ if [ "$a" == "$b" ] ; then
+ # Good: -k should be == -k
+ if [ "$a" == "$c" ] ; then
+ # Bad: without -k the command should give different output
+ echo 'Broken: a == c'
+ printf "$a\n$b\n$c\n"
+ else
+ echo OK
+ fi
+ else
+ echo 'Broken: a <> b'
+ printf "$a\n$b\n$c\n"
+ fi
+}
+
+par_reload_slf_every_second() {
+ echo "### --slf should reload every second"
+ tmp=$(mktemp)
+ echo 1/lo >"$tmp"
+ (
+ sleep 3
+ (echo 1/localhost
+ echo 1/127.0.0.1) >>"$tmp"
+ ) &
+ # This used to take 40 seconds (version 20220322) because the
+ # updated --slf would only read after first job finished
+ seq 3 |
+ stdout /usr/bin/time -f %e parallel --slf "$tmp" 'true {};sleep 20' |
+ perl -ne 'print(($_ < 40) ? "OK\n" : "Too slow: $_\n")'
+ rm "$tmp"
+}
+
par__groupby_big() {
echo "### test --group-by on file bigger than block"
groupcol() {
@@ -24,11 +90,11 @@
_pipe() { headtail; }
export -f _pipe
pipepart() {
- parallel $n -k --groupby $groupcol --colsep ' ' -v \
+ parallel -j8 $n -k --groupby $groupcol --colsep ' ' -v \
--pipepart -a "$sorted" _ppart
}
pipe() {
- parallel $n -k --groupby $groupcol --colsep ' ' -v \
+ parallel -j8 $n -k --groupby $groupcol --colsep ' ' -v \
< "$sorted" _pipe
}
export -f pipepart pipe
@@ -93,9 +159,34 @@
paste <(seq 10) <(seq 10 -1 1) |
parallel --pipe --colsep '\t' --bin '2 $_%=2' -j4 wc | sort
echo '### Blocks in version 20220122'
- echo 10 | parallel --pipe --bin 1 -j100% wc | sort
+ echo 10 | parallel --pipe --bin 1 -j100% cat | sort
paste <(seq 10) <(seq 10 -1 1) |
- parallel --pipe --colsep '\t' --bin 2 wc | sort
+ parallel --pipe --colsep '\t' --bin 2 cat | sort
+}
+
+par_perlexpr_repl() {
+ echo '### {= and =} in different groups separated by space'
+ parallel echo {= s/a/b/ =} ::: a
+ parallel echo {= s/a/b/=} ::: a
+ parallel echo {= s/a/b/=}{= s/a/b/=} ::: a
+ parallel echo {= s/a/b/=}{=s/a/b/=} ::: a
+ parallel echo {= s/a/b/=}{= {= s/a/b/=} ::: a
+ parallel echo {= s/a/b/=}{={=s/a/b/=} ::: a
+ parallel echo {= s/a/b/ =} {={==} ::: a
+ parallel echo {={= =} ::: a
+ parallel echo {= {= =} ::: a
+ parallel echo {= {= =} =} ::: a
+
+ echo '### bug #45842: Do not evaluate {= =} twice'
+ parallel -k echo '{= $_=++$::G =}' ::: {1001..1004}
+ parallel -k echo '{=1 $_=++$::G =}' ::: {1001..1004}
+ parallel -k echo '{= $_=++$::G =}' ::: {1001..1004} ::: {a..c}
+ parallel -k echo '{=1 $_=++$::G =}' ::: {1001..1004} ::: {a..c}
+
+ echo '### bug #45939: {2} in {= =} fails'
+ parallel echo '{= s/O{2}//=}' ::: OOOK
+ parallel echo '{2}-{=1 s/O{2}//=}' ::: OOOK ::: OK
+ true Dummy for emacs =}}}}}
}
par_shard() {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-3s.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -8,13 +8,60 @@
# 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.3 1.5 |
+ seq 0.1 0.4 1.8 |
parallel -n1 -kP4 --process-slot-var=name -q bash -c 'sleep $1; echo "$name"' _
- seq 0.1 0.3 1.5 |
+ seq 0.1 0.4 1.8 |
xargs -n1 -P4 --process-slot-var=name bash -c 'sleep $1; echo "$name"' _
- seq 0.1 0.3 1.5 |
+ seq 0.1 0.4 1.8 |
parallel -kP4 --process-slot-var=name sleep {}\; echo '$name'
}
@@ -374,7 +421,8 @@
seq 1 10 | stdout parallel --eta "sleep 1; echo {}" | wc -l
echo '### Test of --eta with no jobs'
- stdout parallel --eta "sleep 1; echo {}" < /dev/null
+ stdout parallel --eta "sleep 1; echo {}" < /dev/null |
+ perl -pe 's,1:local / \d / \d,1:local / 9 / 9,'
}
par_progress() {
@@ -382,7 +430,8 @@
seq 1 10 | stdout parallel --progress "sleep 1; echo {}" | wc -l
echo '### Test of --progress with no jobs'
- stdout parallel --progress "sleep 1; echo {}" < /dev/null
+ stdout parallel --progress "sleep 1; echo {}" < /dev/null |
+ perl -pe 's,1:local / \d / \d,1:local / 9 / 9,'
}
par_tee_with_premature_close() {
@@ -417,17 +466,6 @@
rmdir "$tmpdir"
}
-par__tee_too_many_args() {
- echo '### Fail if there are more arguments than --jobs'
- seq 11 | stdout parallel -k --tag --pipe -j4 --tee grep {} ::: {1..4}
- tmp=`mktemp`
- seq 11 | parallel -k --tag --pipe -j0 --tee grep {} ::: {1..10000} 2> "$tmp"
- cat "$tmp" | perl -pe 's/\d+/999/g' |
- grep -v 'Warning: Starting' |
- grep -v 'Warning: Consider'
- rm "$tmp"
-}
-
par_maxargs() {
echo '### Test -n and --max-args: Max number of args per line (only with -X and -m)'
@@ -574,7 +612,8 @@
par_sqlworker_hostname() {
echo 'bug #50901: --sqlworker should use hostname in the joblog instead of :'
-
+ # Something like:
+ # :mysqlunittest mysql://tange:tange@localhost/tange
MY=:mysqlunittest
parallel --sqlmaster $MY/hostname echo ::: 1 2 3
parallel -k --sqlworker $MY/hostname
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-load.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -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
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -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-parsort.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-race01.sh
^
|
@@ -1,9 +1,31 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
+par_sem_2jobs() {
+ echo '### Test semaphore 2 jobs running simultaneously'
+ parallel --semaphore --id 2jobs -u -j2 'echo job1a 1; sleep 4; echo job1b 3'
+ sleep 0.5
+ parallel --semaphore --id 2jobs -u -j2 'echo job2a 2; sleep 4; echo job2b 5'
+ sleep 0.5
+ parallel --semaphore --id 2jobs -u -j2 'echo job3a 4; sleep 4; echo job3b 6'
+ parallel --semaphore --id 2jobs --wait
+ echo done
+}
+
+par_2jobs() {
+ echo '### Test similar example as from man page - run 2 jobs simultaneously'
+ echo 'Expect done: 1 2 5 3 4'
+ for i in 5 1 2 3 4 ; do
+ sleep 0.2
+ echo Scheduling $i
+ sem -j2 --id ex2jobs -u echo starting $i ";" sleep $i ";" echo done $i
+ done
+ sem --id ex2jobs --wait
+}
+
par_change_content_--jobs_filename() {
echo '### Test of -j filename with file content changing (missing -k is correct)'
echo 1 >/tmp/jobs_to_run2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-race02.sh
^
|
@@ -80,7 +80,8 @@
parallel --delay 0.2 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.4{} ::: {1..8}@g2
echo '### --hostgroup multiple group arg + unused group'
- parallel --delay 0.2 --hgrp -S @g1/1/parallel@lo -S @g1/3/lo -S @g3/100/tcsh@lo whoami\;sleep 0.8{} ::: {1..8}@g1+g2 | sort -u
+ parallel --delay 0.2 --hgrp -S @g1/1/parallel@lo -S @g1/3/lo -S @g3/100/tcsh@lo whoami\;sleep 0.8{} ::: {1..8}@g1+g2 2>&1 |
+ sort -u | grep -v Warning
echo '### --hostgroup two groups @'
parallel -k --hgrp -S @g1/parallel@lo -S @g2/lo --tag whoami\;echo ::: parallel@g1 tange@g2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-sql.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-sql01.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-sql02.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh1.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -37,10 +37,13 @@
par_--ssh_ssh_in_ssh() {
echo '### bug #61894: Pack ssh code in eval protection'
echo Unquoted ssh should work
- parallel --ssh 'ssh lo ssh' -S lo 'hostname;echo' ::: OK
- parallel --ssh 'eval ssh lo ssh' -S lo 'hostname;echo' ::: OK
- parallel --ssh 'eval ssh lo eval ssh' -S lo 'hostname;echo' ::: OK
- parallel --ssh 'sshpass ssh bash@lo eval ssh' -S csh@lo 'hostname;echo' ::: OK
+ hostname=$(hostname)
+ (
+ parallel --ssh 'ssh -A lo ssh' -S lo 'hostname;echo' ::: OK
+ parallel --ssh 'eval ssh -A lo ssh' -S lo 'hostname;echo' ::: OK
+ parallel --ssh 'eval ssh -A lo eval ssh' -S lo 'hostname;echo' ::: OK
+ parallel --ssh 'sshpass ssh -A bash@lo eval ssh' -S csh@lo 'hostname;echo' ::: OK
+ ) | perl -pe "s/$hostname/myhostname/g"
}
par_stop_if_no_hosts_left() {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh2.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh3.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -14,18 +14,23 @@
par_special_char_trc() {
echo '### Special char file and dir transfer return and cleanup'
- cd /tmp
+ srcdir=/dev/shm/par_special_char_trc
+ wd="$srcdir"_wd
+ mkdir "$srcdir"
+ cd "$srcdir"
mkdir -p d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
- echo local > d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/f"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
- ssh parallel@lo rm -rf d'*'/
+ echo local OK > d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/f"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
+ ssh parallel@lo rm -rf "$wd"/d'*'/
mytouch() {
- cat d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/f"`perl -e 'print pack("c*",1..9,11..46,48..255)'`" > d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/g"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
+ cat d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/f"`perl -e 'print pack("c*",1..9,11..46,48..255)'`" \
+ > d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/g"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
echo remote OK >> d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/g"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
}
export -f mytouch
- parallel --env mytouch -Sparallel@lo --transfer --return {=s:/f:/g:=} mytouch \
+ parallel --env mytouch -Sparallel@lo --wd "$wd" --transfer --return {=s:/f:/g:=} mytouch \
::: d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/f"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
cat d"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"/g"`perl -e 'print pack("c*",1..9,11..46,48..255)'`"
+ rm -rf "$srcdir"
# TODO Should be changed to --return '{=s:/f:/g:=}' and tested with csh - is error code kept?
}
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh4.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -34,8 +34,14 @@
) > "$tmp"/rsync
chmod +x "$tmp"/rsync
PATH="$tmp":"$PATH"
- parallel --trc {}.out -S sh@lo cp {} {}.out ::: 'a`b`c\<d\$e\{#\}g\"h\ i'$2
- rm 'a`b`c\<d\$e\{#\}g\"h\ i'$2 'a`b`c\<d\$e\{#\}g\"h\ i'$2.out
+ # Test basic rsync
+ if stdout rsync "$tmp"/rsync sh@lo:rsync.$2 >/dev/null ; then
+ echo Basic use works: $2
+ stdout parallel --trc {}.out -S sh@lo cp {} {}.out ::: 'a`b`c\<d\$e\{#\}g\"h\ i'$2
+ stdout rm 'a`b`c\<d\$e\{#\}g\"h\ i'$2 'a`b`c\<d\$e\{#\}g\"h\ i'$2.out
+ else
+ echo Basic use failed - not tested: $2
+ fi
rm -rf "$tmp"
}
export -f doit
@@ -52,7 +58,7 @@
parallel --results "$tmp"/rplnoslash/{} --onall -Scsh@lo,sh@lo ::: id pwd
parallel --results "$tmp"/rpl1slash/{1}/ --onall -Scsh@lo,sh@lo ::: id pwd
parallel --results "$tmp"/rpl1noslash/{1} --onall -Scsh@lo,sh@lo ::: id pwd
- find "$tmp" -print0 | replace_tmpdir
+ find "$tmp" -print0 | replace_tmpdir | sort
rm -r "$tmp"
echo '### --results --nonall'
tmp="$TMPDIR"/nonall
@@ -63,7 +69,7 @@
parallel --results "$tmp"/rplnoslash/{} --nonall -Scsh@lo,sh@lo pwd
parallel --results "$tmp"/rpl1slash/{1}/ --nonall -Scsh@lo,sh@lo pwd
parallel --results "$tmp"/rpl1noslash/{1} --nonall -Scsh@lo,sh@lo pwd
- find "$tmp" -print0 | replace_tmpdir
+ find "$tmp" -print0 | replace_tmpdir | sort
rm -r "$tmp"
}
@@ -228,5 +234,5 @@
export -f $(compgen -A function | grep par_)
compgen -A function | grep par_ | LC_ALL=C sort |
- parallel --timeout 3000% -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1' |
+ parallel --timeout 10000% -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1' |
perl -pe 's:/usr/bin:/bin:g;'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh5.sh
^
|
@@ -51,7 +51,16 @@
) | grep -Ev 'Warning: remote port forwarding failed for listen'
}
-par_basefile_cleanup() {
+par_fish_exit() {
+ echo '### bug #64222: sshlogin --return and fish shell'
+ ssh fish@lo '
+ echo OK > bug_64222
+ parallel --wd ... --sshlogin lo --trc {} cat ::: bug_64222
+ rm bug_64222
+ '
+}
+
+par__basefile_cleanup() {
echo '### bug #46520: --basefile cleans up without --cleanup'
touch bug_46520
parallel -S parallel@lo --bf bug_46520 ls ::: bug_46520
@@ -81,12 +90,30 @@
par_--ssh_lsh() {
echo '### --ssh lsh'
+ # lsh: Protocol error: No common key exchange method.
+ #
+ # $ lsh --list-algorithms
+ # Supported hostkey algorithms: ssh-dss, spki, none
+ #
+ # $ nmap --script ssh2-enum-algos -sV -p 22 lo
+ # | server_host_key_algorithms: (4)
+ # | rsa-sha2-512
+ # | rsa-sha2-256
+ # | ecdsa-sha2-nistp256
+ # | ssh-ed25519
+ # |
+ #
+ # There is no longer an overlap: LSH is unsupported until there is
+ # a common algorithm again
+ #
+ # Code is kept if lsh is upgraded in the future
parallel --ssh 'lsh -c aes256-ctr' -S lo echo ::: OK
echo OK | parallel --ssh 'lsh -c aes256-ctr' --pipe -S csh@lo cat
parallel --ssh lsh -S lo echo ::: OK
echo OK | parallel --ssh lsh --pipe -S csh@lo cat
- # Todo rsync/trc csh@lo
- # Test gl. parallel med --ssh lsh: Hvilke fejler? brug dem. Også hvis de fejler
+ # Todo:
+ # * rsync/--trc
+ # * csh@lo
}
par_pipe_retries() {
@@ -105,7 +132,7 @@
env_parallel -Slo --nonall doit works
}
-par_--shellquote_command_len() {
+par__--shellquote_command_len() {
echo '### test quoting will not cause a crash if too long'
# echo "'''" | parallel --shellquote --shellquote --shellquote --shellquote
@@ -126,6 +153,6 @@
}
export -f $(compgen -A function | grep par_)
-compgen -A function | grep par_ | sort -r |
+compgen -A function | grep par_ | sort |
# 2019-07-14 100% slowed down 4 threads/16GB
parallel -j75% --joblog /tmp/jl-`basename $0` -j3 --tag -k --delay 0.1 --retries 3 '{} 2>&1'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh6.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh7.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -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
@@ -1942,9 +1942,9 @@
par_environment_too_big_mksh() {
myscript=$(cat <<'_EOF'
echo 'bug #50815: env_parallel should warn if the environment is too big'
- len_var=47
+ len_var=46
len_var_remote=31
- len_var_quote=47
+ len_var_quote=46
len_var_quote_remote=31
len_fun=28
len_fun_remote=13
@@ -3325,13 +3325,14 @@
# parallel --joblog /tmp/jl-`basename $0` --delay $D -j$P --tag -k '{} 2>&1'
# 2019-07-14 200% too high for 16 GB/4 thread
parallel --joblog /tmp/jl-`basename $0` -j75% --retries 2 --tag -k '{} 2>&1' |
- perl -pe 's/line \d\d+/line XXX/g;
- s/\d+ >= \d+/XXX >= XXX/;
- s/sh:? \d?\d\d:/sh: XXX:/;
- s/:\d?\d\d:/:XXX:/;
- s/sh\[\d+\]/sh[XXX]/;
+ perl -pe 's/line \d\d+/line 99/g;
+ s/\d+ >= \d+/999 >= 999/;
+ s/sh:? \d?\d\d:/sh: 999:/;
+ s/:\d?\d\d:/:999:/;
+ s/sh\[\d+\]/sh[999]/;
s/.*(tange|zenodo).*//i;
s:/usr/bin:/bin:g;
s:/tmp/par-job-\d+_.....\[\d+\]:script[9]:g;
s!/tmp/par-job-\d+_.....!script!g;
+ s/script: \d\d+/script: 99/g;
'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh8.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -133,7 +133,12 @@
par_filter_host_noise() {
echo '### bug #63296: --filter-hosts option gets confused by output from SSH command'
parallel --ssh "ssh -i id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null " -S localhost --nonall --tag --filter-hosts echo OK
- parallel --ssh "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null " -S localhost --nonall --tag --filter-hosts echo OK
+ parallel --ssh "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null " -S localhost --nonall --tag --filter-hosts echo OK
+ echo '### bug #64237: --filter-hosts and VisualHostKey=yes'
+ stdout parallel --ssh "ssh -o VisualHostKey=yes" -S localhost --nonall --tag --filter-hosts echo OK |
+ perl -pe 's/(Host key fingerprint is).*/$1/; s/\t(\+|\|).*\1/\t$1,,,,,,,,,,,,,,,,,$1/;'
+ parallel --ssh "ssh -o VisualHostKey=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null " -S localhost --nonall --tag --filter-hosts echo OK
+
}
export -f $(compgen -A function | grep par_)
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh9.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -138,6 +138,8 @@
par_propagate_env() {
echo '### bug #41805: Idea: propagate --env for parallel --number-of-cores'
+ # csh complains if MANPATH is unset. Provoke this.
+ unset MANPATH
echo '** test_zsh'
FOO=test_zsh parallel --env FOO,HOME -S zsh@lo -N0 env ::: "" |sort|egrep 'FOO|^HOME'
echo '** test_zsh_filter'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-utf8.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local1.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local10.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local105.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local108.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local114.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local12.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local129.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local13.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash -x
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local14.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local140.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local15.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local150.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local152.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local154.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local157.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local18.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local19.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local2.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local20.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local21.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -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-local22.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local23.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local4.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local5.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local6.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local7.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local8.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local9.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -164,9 +164,6 @@
echo "echo a" | parallel
nice parallel -j1 -I :: -X echo 'a::b::^c::[.}c' ::: 1
-echo "### BUG: The length for -X is not close to max (131072)"
-seq 1 4000 | nice parallel -k -X echo {.} aa {}{.} {}{}d{} {}dd{}d{.} |head -n 1 |wc
-
echo '### Test -N'
seq 1 5 | $NICEPAR -kN3 echo {1} {2} {3}
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-localhost1.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-macos.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -171,7 +171,14 @@
export PARALLEL="--_unsafe"
macsshlogin=$(parallel --halt now,success=1 ssh {} echo {} ::: ota@mac macosx.p)
-scp /usr/local/bin/parallel $macsshlogin:bin/
+if scp /usr/local/bin/parallel $macsshlogin:bin/ ; then
+ true
+else
+ echo "**"
+ echo "** Mac not found. Skip testing"
+ echo "**"
+ exit 1
+fi
export LC_ALL=C
export -f $(compgen -A function | grep par_)
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-polarhome.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-remote1.sh
^
|
@@ -1,11 +1,11 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
SERVER1=parallel-server1
-SERVER2=parallel-server4
+SERVER2=parallel-server2
SERVER3=parallel-server3
SSHUSER1=vagrant
SSHUSER2=vagrant
@@ -20,6 +20,14 @@
#SSHLOGIN2=parallel@lo
#SSHLOGIN3=parallel@parallel-server2
+par_force_number_of_cpu() {
+ echo '### Check forced number of CPUs being respected'
+ echo 'ssh is slow, so should only get 7. : should get the rest'
+ seq 1 20 |
+ stdout parallel -k -j+0 -S 1/:,7/$SSHLOGIN1 "hostname; echo {} >/dev/null" |
+ sort | uniq -c | sort | field 1
+}
+
par_special_ssh() {
echo '### Test use special ssh'
echo 'TODO test ssh with > 9 simultaneous'
@@ -29,20 +37,22 @@
seq 1 100 | parallel --sshdelay 0.03 --retries 10 --sshlogin "/tmp/myssh1 $SSHLOGIN1,/tmp/myssh2 $SSHLOGIN2" -k echo
}
-par_filter_hosts_different_errors() {
+par__filter_hosts_different_errors() {
echo '### --filter-hosts - OK, non-such-user, connection refused, wrong host'
+ hostname=$(hostname)
stdout parallel --nonall --filter-hosts -S localhost,NoUser@localhost,154.54.72.206,"ssh 5.5.5.5" hostname |
- grep -v 'parallel: Warning: Removed'
+ grep -v 'parallel: Warning: Removed' |
+ perl -pe "s/$hostname/myhostname/g"
}
par_timeout_retries() {
echo '### test --timeout --retries'
stdout parallel -j0 --timeout 5 --retries 3 -k ssh {} echo {} \
::: 192.168.1.197 8.8.8.8 $SSHLOGIN1 $SSHLOGIN2 $SSHLOGIN3 |
- grep -v 'Warning: Permanently added'
+ grep -v 'Warning: Permanently added' | puniq
}
-par_filter_hosts_no_ssh_nxserver() {
+par__filter_hosts_no_ssh_nxserver() {
echo '### test --filter-hosts with server w/o ssh, non-existing server'
stdout parallel -S 192.168.1.197,8.8.8.8,$SSHLOGIN1,$SSHLOGIN2,$SSHLOGIN3 --filter-hosts --nonall -k --tag echo |
grep -v 'parallel: Warning: Removed'
@@ -73,7 +83,7 @@
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' |
perl -pe 's:/usr/bin:/bin:g'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-tutorial.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -62,7 +62,7 @@
# /usr/bin/time -f %e
s/^(\d+)\.\d+$/$1/;
# --workdir ...
- s:parallel/tmp/aspire-\d+-1:TMPWORKDIR:g;
+ s:parallel/tmp/[a-z]+-\d+-1:TMPWORKDIR:g;
# .../privat/parallel2/
s='$srcdir'==;
# + cat ... | (Bash outputs these in random order)
@@ -119,6 +119,14 @@
s:/tmp/par-job-\S+:script:g;
s:par......par:tempfile:g;
s:^tempfile\n::g;
+ # --progress => 1:local / 4 / 4
+ 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/parallel-virtualbox1.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -11,21 +11,18 @@
# If not run in dir parallel/testsuite: set testsuitedir to path of testsuite
testsuitedir=${testsuitedir:-$pwd}
cd "$testsuitedir"
- cd testsuite/vagrant/tange/centos3/ 2>/dev/null
- cd vagrant/tange/centos3/ 2>/dev/null
- cd ../vagrant/tange/centos3/ 2>/dev/null
+ cd vagrant 2>/dev/null
+ cd FritsHoogland/centos3
vagrantssh() {
port=$(perl -ne '/#/ and next; /config.vm.network.*host:\s*(\d+)/ and print $1' Vagrantfile)
w4it-for-port-open localhost $port
- ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 \
- -oHostKeyAlgorithms=+ssh-rsa,ssh-dss \
- -oPubkeyAcceptedAlgorithms=+ssh-dss -p$port vagrant@localhost "$@" |
+ ssh -p $port -o DSAAuthentication=yes -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /home/tange/.vagrant.d/insecure_private_key vagrant@localhost "$@" |
# Ignore empty ^M line
grep ..
}
(
- stdout vagrant up >/dev/null
- vagrantssh 'sudo /sbin/ifconfig eth1 172.27.27.3'
+ stdout vagrant up >/dev/null &
+ cat ~/.ssh/*.pub | vagrantssh 'sudo /sbin/ifconfig eth1 172.27.27.3; cat >> .ssh/authorized_keys'
) &
)
}
@@ -34,16 +31,20 @@
stdout parallel --tag -k 'ping -w 1 -c 1 {} || (cd vagrant/*/{} && vagrant up)' ::: rhel8 centos3 |
grep -v 'default' | grep -v '==>' | grep -E '^$' &
-wssh vagrant@rhel8 true
-wssh vagrant@centos3 true
+parallel --timeout 30 -k wssh vagrant@{} echo {} is up ::: rhel8 centos3
par_warning_on_centos3() {
echo "### bug #37589: Red Hat 9 (Shrike) perl v5.8.0 built for i386-linux-thread-multi error"
+ echo 'Old version gave:'
+ echo '. Bareword found where operator expected at /tmp/parallel-20120822 line 1294, near "$Global::original_stderr init_progress"'
+ echo 'New versions should not give that.'
+
testone() {
sshlogin="$1"
program="$2"
basename="$3"
scp "$program" "$sshlogin":/tmp/"$basename"
+ ssh "$sshlogin" sudo cp /tmp/"$basename" /usr/local/bin
stdout ssh "$sshlogin" perl /tmp/"$basename" echo \
::: Old_must_fail_New_must_be_OK
}
@@ -63,7 +64,7 @@
# If not run in dir parallel/testsuite: set testsuitedir to path of testsuite
testsuitedir=${testsuitedir:-$pwd}
cd "$testsuitedir"
- cd vagrant/tange/centos3/
+ cd vagrant/FritsHoogland/centos3
stdout vagrant suspend |
grep -v '==> default: Saving VM state' |
grep -v 'An action .suspend. was attempted on the machine .default.,' |
@@ -76,5 +77,6 @@
grep -v 'try again.' |
grep -v 'A new version of Vagrant is available:' |
grep -v 'To upgrade visit: ' |
+ grep -v '==> default: VM not created. Moving on...' |
grep .
)
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/parsort-local-01.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/sem01.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -25,17 +25,6 @@
echo done
}
-par_2jobs() {
- echo '### Test similar example as from man page - run 2 jobs simultaneously'
- echo 'Expect done: 1 2 5 3 4'
- for i in 5 1 2 3 4 ; do
- sleep 0.2
- echo Scheduling $i
- sem -j2 --id ex2jobs -u echo starting $i ";" sleep $i ";" echo done $i
- done
- sem --id ex2jobs --wait
-}
-
par_fg_then_bg() {
echo '### Test --fg followed by --bg'
parallel -u --id fgbg --fg --semaphore seq 1 10 '|' pv -qL 30
@@ -57,9 +46,9 @@
par_semaphore-timeout() {
echo '### Test --st +1/-1'
- stdout sem --id st --line-buffer "echo A normal-start;sleep 3;echo C normal-end"
- stdout sem --id st --line-buffer --st 1 "echo B st1-start;sleep 3;echo D st1-end"
- stdout sem --id st --line-buffer --st -1 "echo ERROR-st-1-start;sleep 3;echo ERROR-st-1-end"
+ stdout sem --id st --line-buffer "echo A normal-start;sleep 4;echo C normal-end"
+ stdout sem --id st --line-buffer --st 2 "echo B st1-start;sleep 4;echo D st1-end"
+ stdout sem --id st --line-buffer --st -2 "echo ERROR-st-1-start;sleep 4;echo ERROR-st-1-end"
stdout sem --id st --wait
}
@@ -88,5 +77,5 @@
export -f $(compgen -A function | grep par_)
compgen -A function | grep par_ | LC_ALL=C sort |
- parallel --timeout 30 -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1' |
+ parallel --timeout 120 -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1' |
perl -pe 's:/usr/bin:/bin:g'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/sem02.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/sql01.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -15,31 +15,42 @@
# sql $MYSQL_ADMIN_DBURL "CREATE USER 'sqlunittest'@'localhost' IDENTIFIED BY 'CB5A1FFFA5A';"
# sql $MYSQL_ADMIN_DBURL "GRANT ALL PRIVILEGES ON sqlunittest.* TO 'sqlunittest'@'localhost';"
-MYSQL_TEST_DBURL=mysql://tange:tange@/
+export MYSQL_TEST_DBURL=mysql://tange:tange@/
+export DBURL="$MYSQL_TEST_DBURL"
-echo '### Test of #! -Y with file as input'
-cat >/tmp/shebang <<EOF
+par_shebang-Y() {
+ echo '### Test of #! -Y with file as input'
+ shebang=/tmp/shebang-Y
+ cat >"$shebang" <<EOF
#!/usr/local/bin/sql -Y $MYSQL_TEST_DBURL
SELECT 'Yes it does' AS 'Testing if -Y works';
EOF
-chmod 755 /tmp/shebang
-/tmp/shebang
-
-echo '### Test of #! --shebang with file as input'
-cat >/tmp/shebang <<EOF
+ chmod 755 "$shebang"
+ "$shebang"
+}
+
+par_shebang_file() {
+ echo '### Test of #! --shebang with file as input'
+ shebang=/tmp/shebang-file
+ cat >"$shebang" <<EOF
#!/usr/local/bin/sql --shebang $MYSQL_TEST_DBURL
SELECT 'Yes it does' AS 'Testing if --shebang works';
EOF
-chmod 755 /tmp/shebang
-/tmp/shebang
-
-echo '### Test reading sql on command line'
-sql $MYSQL_TEST_DBURL "SELECT 'Yes it does' as 'Test reading SQL from command line';"
-
-echo '### Test reading sql from file'
-cat >/tmp/unittest.sql <<EOF
+ chmod 755 "$shebang"
+ "$shebang"
+}
+
+par_sql_on_cmdline() {
+ echo '### Test reading sql on command line'
+ sql $MYSQL_TEST_DBURL "SELECT 'Yes it does' as 'Test reading SQL from command line';"
+}
+
+par_read_sql_from_file() {
+ echo '### Test reading sql from file'
+ unittest=/tmp/unittest.sql
+ cat >"$unittest" <<EOF
DROP TABLE IF EXISTS unittest;
CREATE TABLE unittest (
id INT,
@@ -49,73 +60,139 @@
INSERT INTO unittest VALUES (3,'def');
SELECT 'Yes it does' as 'Test reading SQL from file works';
EOF
-sql $MYSQL_TEST_DBURL/sqlunittest </tmp/unittest.sql
+ sql $MYSQL_TEST_DBURL/sqlunittest <"$unittest"
+}
+
-echo '### Test dburl with username password host port'
-sql mysql://tange:tange@localhost:3306/tange </tmp/unittest.sql
+testtable() {
+ tbl=$1
+ cat <<EOF
+ DROP TABLE IF EXISTS $tbl;
+CREATE TABLE $tbl (
+ id INT,
+ data VARCHAR(100)
+ );
+INSERT INTO $tbl VALUES (1,'abc');
+INSERT INTO $tbl VALUES (3,'def');
+EOF
+}
+export -f testtable
-echo "### Test .sql/aliases"
-mkdir -p ~/.sql
-echo :sqlunittest mysql://sqlunittest:CB5A1FFFA5A@localhost:3306/sqlunittest >> ~/.sql/aliases
-perl -i -ne '$seen{$_}++ || print' ~/.sql/aliases
-sql :sqlunittest "SELECT 'Yes it does' as 'Test if .sql/aliases works';"
-
-echo "### Test sql:sql::alias"
-sql sql:sql::sqlunittest "SELECT 'Yes it works' as 'Test sql:sql::alias';"
-
-echo "### Test --noheaders --no-headers -n"
-sql -n :sqlunittest 'select * from unittest order by id' |
- parallel -k --colsep '\t' echo {2} {1}
-sql --noheaders :sqlunittest 'select * from unittest order by id' |
- parallel -k --colsep '\t' echo {2} {1}
-sql --no-headers :sqlunittest 'select * from unittest order by id' |
- parallel -k --colsep '\t' echo {2} {1}
-
-echo "### Test --sep -s";
-sql --no-headers -s : pg:/// 'select 1,2' |
- parallel --colsep ':' echo {2} {1}
-sql --no-headers --sep : pg:/// 'select 1,2' |
- parallel --colsep ':' echo {2} {1}
-
-echo "### Test --passthrough -p";
-sql -p -H :sqlunittest 'select * from unittest'
-echo
-sql --passthrough -H :sqlunittest 'select * from unittest'
-echo
-
-echo "### Test --html";
-sql --html $MYSQL_TEST_DBURL/sqlunittest 'select * from unittest'
-echo
-
-echo "### Test --show-processlist|proclist|listproc";
-sql --show-processlist :sqlunittest | wc -lw
-sql --proclist :sqlunittest | wc -lw
-sql --listproc :sqlunittest | wc -lw
-
-echo "### Test --db-size --dbsize";
-sql --dbsize :sqlunittest | wc -w
-sql --db-size :sqlunittest | wc -w
-
-echo "### Test --table-size --tablesize"
-sql --showtables :sqlunittest | grep TBL | parallel sql :sqlunittest drop table
-sql --tablesize :sqlunittest | wc -l
-sql --table-size :sqlunittest | wc -l
-
-echo "### Test --debug"
-stdout sql --debug :sqlunittest "SELECT 'Yes it does' as 'Test if --debug works';" |
- replace_tmpdir |
- perl -pe 's:/...........sql:/tmpfile:g'
-
-echo "### Test --version -V"
-sql --version | wc
-sql -V | wc
-
-echo "### Test -r"
-stdout sql -r --debug pg://nongood@127.0.0.3:2227/ "SELECT 'This should fail 3 times';"
-
-echo "### Test --retries=s"
-stdout sql --retries=4 --debug pg://nongood@127.0.0.3:2227/ "SELECT 'This should fail 4 times';"
-
-echo "### Test --help -h"
-sql --help
-sql -h
+par_dburl_user_password_host_port() {
+ echo '### Test dburl with username password host port'
+ (
+ testtable userpasshost;
+ echo "SELECT 'OK' as 'Test dburl with username password host port'";
+ ) | sql mysql://tange:tange@localhost:3306/tange
+}
+
+par_sql_aliases() {
+ echo "### Test .sql/aliases"
+ mkdir -p ~/.sql
+ echo :sqlunittest mysql://sqlunittest:CB5A1FFFA5A@localhost:3306/sqlunittest >> ~/.sql/aliases
+ perl -i -ne '$seen{$_}++ || print' ~/.sql/aliases
+ sql :sqlunittest "SELECT 'Yes it does' as 'Test if .sql/aliases works';"
+
+ echo "### Test sql:sql::alias"
+ sql sql:sql::sqlunittest "SELECT 'Yes it works' as 'Test sql:sql::alias';"
+}
+
+par_noheaders() {
+ echo "### Test --noheaders --no-headers -n"
+ testtable noheader | sql "$DBURL"
+ sql -n "$DBURL" 'select * from noheader order by id' |
+ parallel -k --colsep '\t' echo {2} {1}
+ sql --noheaders "$DBURL" 'select * from noheader order by id' |
+ parallel -k --colsep '\t' echo {2} {1}
+ sql --no-headers "$DBURL" 'select * from noheader order by id' |
+ parallel -k --colsep '\t' echo {2} {1}
+}
+
+par_--sep() {
+ echo "### Test --sep -s";
+ sql --no-headers -s : pg:/// 'select 1,2' |
+ parallel --colsep ':' echo {2} {1}
+ sql --no-headers --sep : pg:/// 'select 1,2' |
+ parallel --colsep ':' echo {2} {1}
+}
+
+par_--passthrough() {
+ echo "### Test --passthrough -p";
+ testtable passthrough | sql "$DBURL"
+ sql -p -H "$DBURL" 'select * from passthrough'
+ echo
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/sql02.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -52,7 +52,7 @@
sql -s . influx:///parallel 'SELECT * FROM cpu;'
sql --html influx:///parallel 'SELECT * FROM cpu;'
sql influx:///parallel 'drop database parallel'
- ) | perl -pe 's/\d/0/g'
+ ) | perl -pe 's/\d/0/g;'
}
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/sql03.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -8,11 +8,11 @@
MYSQL_ADMIN_DBURL=mysql://root:$mysqlrootpass@/mysql
# Setup
-sql $MYSQL_ADMIN_DBURL "drop user 'sqlunittest'@'localhost'"
-sql $MYSQL_ADMIN_DBURL DROP DATABASE sqlunittest;
-sql $MYSQL_ADMIN_DBURL CREATE DATABASE sqlunittest;
-sql $MYSQL_ADMIN_DBURL "CREATE USER 'sqlunittest'@'localhost' IDENTIFIED BY 'CB5A1FFFA5A';"
-sql $MYSQL_ADMIN_DBURL "GRANT ALL PRIVILEGES ON sqlunittest.* TO 'sqlunittest'@'localhost';"
+sudo sql $MYSQL_ADMIN_DBURL "drop user 'sqlunittest'@'localhost'"
+sudo sql $MYSQL_ADMIN_DBURL DROP DATABASE sqlunittest;
+sudo sql $MYSQL_ADMIN_DBURL CREATE DATABASE sqlunittest;
+sudo sql $MYSQL_ADMIN_DBURL "CREATE USER 'sqlunittest'@'localhost' IDENTIFIED BY 'CB5A1FFFA5A';"
+sudo sql $MYSQL_ADMIN_DBURL "GRANT ALL PRIVILEGES ON sqlunittest.* TO 'sqlunittest'@'localhost';"
MYSQL_TEST_DBURL=mysql://sqlunittest:CB5A1FFFA5A@/sqlunittest
export MYSQL_TEST_DBURL
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test13.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test17.sh
^
|
@@ -1,11 +1,11 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
SERVER1=parallel-server1
-SERVER2=parallel-server3
+SERVER2=parallel-server2
SSHUSER1=vagrant
SSHUSER2=vagrant
SSHLOGIN1=$SSHUSER1@$SERVER1
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test18.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -50,8 +50,9 @@
echo "#2/ssh -l tange nothing" >>/tmp/parallel-sshlogin
seq 1 10 | parallel -k --sshloginfile /tmp/parallel-sshlogin echo
-echo '### Check forced number of CPUs being respected'
-seq 1 20 | stdout parallel -k -j+0 -S 1/:,7/$SSHLOGIN1 "hostname; echo {} >/dev/null" | sort
+# Moved to parallel-remote1.sh
+#echo '### Check forced number of CPUs being respected'
+#seq 1 20 | stdout parallel -k -j+0 -S 1/:,7/$SSHLOGIN1 "hostname; echo {} >/dev/null" | sort
echo '### Check more than 9 simultaneous sshlogins'
seq 1 11 | parallel -k -j0 -S "ssh lo" echo
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test19.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -30,9 +30,11 @@
find tmp/parallel*newline* -print0 | stdout parallel -0 -k --transfer --sshlogin $SSHLOGIN1,$SSHLOGIN2 cat {}";"rm {}
# Should give: No such file or directory
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*'
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*'
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*'
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*'
+) | sort
echo '### --transfer --cleanup - file with newline'
echo newline > '/tmp/parallel.file.
@@ -42,9 +44,11 @@
find tmp/parallel*newline* -print0 | stdout parallel -0 -k --transfer --cleanup --sshlogin $SSHLOGIN1,$SSHLOGIN2 cat {}
# Should give: No such file or directory
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*'
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*'
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*'
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*'
+) | sort
echo '### --return - file with newline'
rm -rf /tmp/parallel.file.*newline*
@@ -68,9 +72,11 @@
ls tmp/parallel*newline*out
rm tmp/parallel*newline*out
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+) | sort
echo '### --transfer --return --cleanup - file with newline'
echo newline > '/tmp/parallel.file.
@@ -81,9 +87,11 @@
ls tmp/parallel*newline*out
rm tmp/parallel*newline*out
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+) | sort
echo '### --trc - file with newline'
echo newline > '/tmp/parallel.file.
@@ -94,9 +102,11 @@
ls tmp/parallel*newline*out
rm tmp/parallel*newline*out
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+) | sort
echo '### --trc - multiple file with newline'
echo newline > '/tmp/parallel.file.
@@ -107,9 +117,11 @@
ls tmp/parallel*newline*out*
rm tmp/parallel*newline*out*
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+) | sort
echo '### Test use special ssh'
echo 'ssh "$@"; echo "$@" >>/tmp/myssh1-run' >/tmp/myssh1
@@ -126,9 +138,11 @@
ls tmp/parallel*newline*out*
rm tmp/parallel*newline*out*
echo good if no file
-stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
-# Should give: No such file or directory
-stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+(
+ stdout ssh $SSHLOGIN1 ls 'tmp/parallel.file*' || echo OK
+ # Should give: No such file or directory
+ stdout ssh $SSHLOGIN2 ls 'tmp/parallel.file*' || echo OK
+) | sort
echo 'Input for ssh'
cat /tmp/myssh1-run /tmp/myssh2-run | perl -pe 's/(PID.)\d+/${1}00000/g;s/(SEQ[ =]|line)\d/$1X/g;' |
perl -pe 's/\S*parallel-server\S*/one-server/;s:( [0-9a-f]{500,})+( [0-9a-f]+)?: hex:g;'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test21.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -18,7 +18,7 @@
#SERVER2=parallel-server2
echo '### Test $PARALLEL - single line'
-echo | PARALLEL=--number-of-cpus parallel
+seq 300000 | PARALLEL='--pipe -k' parallel wc
(echo 1; echo 1) | PARALLEL="-S$SSHLOGIN1 -Sssh\ -l\ $SSHUSER2\ $SERVER2 -j1" parallel -kv hostname\; echo | sort
echo '### Test $PARALLEL - multi line'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test23.sh
^
|
@@ -1,15 +1,13 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
SERVER1=parallel-server1
-SERVER2=parallel-server3
+SERVER2=parallel-server2
SSHUSER1=vagrant
SSHUSER2=vagrant
-#SSHLOGIN1=parallel@$SERVER1
-#SSHLOGIN2=parallel@$SERVER2
SSHLOGIN1=$SSHUSER1@$SERVER1
SSHLOGIN2=$SSHUSER2@$SERVER2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test30.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test32.sh
^
|
@@ -1,5 +1,5 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test35.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test36.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test37.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test41.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test45.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test46.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test47.sh
^
|
@@ -1,12 +1,12 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
SERVER1=parallel-server1
SERVER2=parallel-server2
-SERVER2=parallel-server3
+SERVER3=parallel-server3
SSHUSER1=vagrant
SSHUSER2=vagrant
SSHUSER3=vagrant
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test60.sh
^
|
@@ -1,11 +1,11 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
SERVER1=parallel-server1
-SERVER2=parallel-server3
+SERVER2=parallel-server2
SSHUSER1=vagrant
SSHUSER2=vagrant
export SSHLOGIN1=$SSHUSER1@$SERVER1
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/tests-to-run/test61.sh
^
|
@@ -1,6 +1,6 @@
#!/bin/bash
-# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-FileCopyrightText: 2021-2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
|
[-]
[+]
|
Added |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/vagrant/FritsHoogland/centos3/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
|
[-]
[+]
|
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
|
[-]
[+]
|
Added |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/vagrant/generic/freebsd13/Vagrantfile
^
|
@@ -0,0 +1,80 @@
+# -*- 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 = "generic/freebsd13"
+
+ # 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
+
+ # 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.73"
+
+ # 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"
+ 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
+ SHELL
+ end
+end
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/vagrant/tange/centos3-gone/Vagrantfile
^
|
(renamed from upstream/testsuite/vagrant/tange/centos3/Vagrantfile)
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/niceload02
^
|
@@ -4,4 +4,4 @@
### Test -p
...OK
### Test --sensor -l negative
-16
+OK
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-10s
^
|
@@ -16,18 +16,11 @@
par_END include this
par_END include this
par_END include this
-par__keeporder_roundrobin bug #50081: --keep-order --round-robin should give predictable results
-par__keeporder_roundrobin OK
par__load_from_PARALLEL ### Test reading load from PARALLEL
par__load_from_PARALLEL 8a7095c1c23bfadc311fe6b16d950582 -
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
@@ -116,116 +109,116 @@
par_failing_compressor Test --tag/--line-buffer/--files in all combinations
par_failing_compressor Test working/failing compressor/decompressor in all combinations
par_failing_compressor (-k is used as a dummy argument)
-par_failing_compressor parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor C=cat;true,D=cat;true /TMP/tmpfile
-par_failing_compressor parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor C=cat;true,D=cat;false /TMP/tmpfile
-par_failing_compressor parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
+par_failing_compressor stdout parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
par_failing_compressor C=cat;false,D=cat;true /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
+par_failing_compressor stdout parallel -k --tag --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor C=cat;false,D=cat;false /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k --tag --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor C=cat;true,D=cat;true C=cat;true,D=cat;true
par_failing_compressor C=cat;true,D=cat;true C=cat;true,D=cat;true
-par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k --tag --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor C=cat;true,D=cat;false C=cat;true,D=cat;false
par_failing_compressor C=cat;true,D=cat;false C=cat;true,D=cat;false
-par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
-par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
+par_failing_compressor stdout parallel -k --tag --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
-par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
-par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
+par_failing_compressor stdout parallel -k --tag --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
-par_failing_compressor parallel -k --tag -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k --tag -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor C=cat;true,D=cat;true /TMP/tmpfile
-par_failing_compressor parallel -k --tag -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k --tag -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor C=cat;true,D=cat;false /TMP/tmpfile
-par_failing_compressor parallel -k --tag -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
+par_failing_compressor stdout parallel -k --tag -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
+par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;true /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor stdout parallel -k --tag -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k --tag -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor C=cat;false,D=cat;false /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k --tag -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k --tag -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor C=cat;true,D=cat;true C=cat;true,D=cat;true
par_failing_compressor C=cat;true,D=cat;true C=cat;true,D=cat;true
-par_failing_compressor parallel -k --tag -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k --tag -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor C=cat;true,D=cat;false C=cat;true,D=cat;false
par_failing_compressor C=cat;true,D=cat;false C=cat;true,D=cat;false
-par_failing_compressor parallel -k --tag -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
-par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
+par_failing_compressor stdout parallel -k --tag -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
-par_failing_compressor parallel -k --tag -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
-par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
+par_failing_compressor stdout parallel -k --tag -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
-par_failing_compressor parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor /TMP/tmpfile
-par_failing_compressor parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor /TMP/tmpfile
-par_failing_compressor parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
+par_failing_compressor stdout parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
par_failing_compressor /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
+par_failing_compressor stdout parallel -k -k --line-buffer --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k -k --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor C=cat;true,D=cat;true
par_failing_compressor C=cat;true,D=cat;true
-par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k -k --line-buffer -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor C=cat;true,D=cat;false
par_failing_compressor C=cat;true,D=cat;false
-par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
-par_failing_compressor C=cat;false,D=cat;true
+par_failing_compressor stdout parallel -k -k --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;true
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;true
-par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
-par_failing_compressor C=cat;false,D=cat;false
+par_failing_compressor stdout parallel -k -k --line-buffer -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;false
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;false
-par_failing_compressor parallel -k -k -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k -k -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor /TMP/tmpfile
-par_failing_compressor parallel -k -k -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k -k -k --files0 --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor /TMP/tmpfile
-par_failing_compressor parallel -k -k -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
+par_failing_compressor stdout parallel -k -k -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
+par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor stdout parallel -k -k -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k -k -k --files0 --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor /TMP/tmpfile
par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel: Error: cat;false failed.
-par_failing_compressor parallel -k -k -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
+par_failing_compressor stdout parallel -k -k -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' doit ::: C='cat;true',D='cat;true'
par_failing_compressor C=cat;true,D=cat;true
par_failing_compressor C=cat;true,D=cat;true
-par_failing_compressor parallel -k -k -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
+par_failing_compressor stdout parallel -k -k -k -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' doit ::: C='cat;true',D='cat;false'
par_failing_compressor C=cat;true,D=cat;false
par_failing_compressor C=cat;true,D=cat;false
-par_failing_compressor parallel -k -k -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
-par_failing_compressor C=cat;false,D=cat;true
+par_failing_compressor stdout parallel -k -k -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' doit ::: C='cat;false',D='cat;true'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;true
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;true
-par_failing_compressor parallel -k -k -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
-par_failing_compressor C=cat;false,D=cat;false
+par_failing_compressor stdout parallel -k -k -k -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' doit ::: C='cat;false',D='cat;false'
par_failing_compressor parallel: Error: cat;false failed.
+par_failing_compressor C=cat;false,D=cat;false
par_failing_compressor parallel: Error: cat;false failed.
par_failing_compressor C=cat;false,D=cat;false
par_fifo_under_csh ### Test --fifo under csh
@@ -617,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 a98747678a5d18c4470a073812437ab2 -
+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 a3c892de2524f32f78550b47336eadd0 -
+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
@@ -704,53 +697,6 @@
par_opt_arg_eaten 3 OK
par_opt_arg_eaten 4 OK
par_opt_arg_eaten 5 OK
-par_perlexpr_repl ### {= and =} in different groups separated by space
-par_perlexpr_repl b
-par_perlexpr_repl b
-par_perlexpr_repl bb
-par_perlexpr_repl bb
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-1s
^
|
@@ -299,7 +299,7 @@
par__test_cpu_detection_lscpu 2-8-8-8 Xeon 8 core server in Germany
par__test_cpu_detection_lscpu 2 8 8 8
par__test_cpu_detection_lscpu 4-64-64-64 Dell R815 4 CPU 64-core
-par__test_cpu_detection_lscpu 4 8 8 8
+par__test_cpu_detection_lscpu 4 32 64 32
par__test_cpu_detection_lscpu 1-2-2-2 AMD Neo N36L Dual-Core Processor
par__test_cpu_detection_lscpu 1 2 2 2
par__test_cpu_detection_lscpu 1-1-1-1 Intel Xeon X5675 (mandriva.p)
@@ -313,7 +313,7 @@
par__test_cpu_detection_lscpu 1-8-8-8 Huawei P Smart Octa-core (4x2.36 GHz Cortex-A53 & 4x1.7 GHz Cortex-A53)
par__test_cpu_detection_lscpu 2 8 8 8
par__test_cpu_detection_lscpu 1-4-4-4 x96 quad-core Android TV-box
-par__test_cpu_detection_lscpu 1 4 4 4
+par__test_cpu_detection_lscpu 1 1 1 1
par_basic_halt parallel: This job failed:
par_basic_halt false
par_basic_halt parallel: This job succeeded:
@@ -331,6 +331,9 @@
par_bug37042 a -J bug_37042_profile print_-J_bug_37042_profile
par_bug37042 ### Bug introduce by fixing bug #37042
par_bug37042 abc
+par_citation_no_config_dir ### bug #64329: parallel --citation will loop forever unless the config dir exists
+par_citation_no_config_dir This should only ask once
+par_citation_no_config_dir Type: 'will cite' and press enter.
par_commandline_with_newline bug #51299: --retry-failed with command with newline
par_commandline_with_newline The format must remain the same
par_commandline_with_newline . : ... ... . . . . false "command<null>with<null>newlines" a
@@ -1266,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 15820 63602
-par_too_long_line_X 1 12726 63630
-par_too_long_line_X 1 12726 63630
-par_too_long_line_X 1 728 3640
+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
^
|
@@ -1525,6 +1525,8 @@
par__groupby_pipepart csv , s/^(\d+[\t ,]+){2}(\d+).*/$2/ 90001 90001 1170031
par__groupby_pipepart csv , s/^(\d+[\t ,]+){2}(\d+).*/$2/ NewRec
par__groupby_pipepart csv , s/^(\d+[\t ,]+){2}(\d+).*/$2/ 90001 90001 1170031
+par__keeporder_roundrobin bug #50081: --keep-order --round-robin should give predictable results
+par__keeporder_roundrobin OK
par__memory_leak ### Test for memory leaks
par__memory_leak Of 300 runs of 1 job at least one should be bigger than a 3000 job run
par__memory_leak Good: No memleak detected.
@@ -1605,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
@@ -1625,22 +1632,17 @@
par_bin 5 10 21
par_bin 5 10 21
par_bin ### Blocks in version 20220122
-par_bin 0 0 0
-par_bin 0 0 0
-par_bin 0 0 0
-par_bin 0 0 0
-par_bin 0 0 0
-par_bin 0 0 0
-par_bin 0 0 0
-par_bin 1 1 3
-par_bin 1 2 4
-par_bin 1 2 4
-par_bin 1 2 4
-par_bin 1 2 4
-par_bin 1 2 4
-par_bin 1 2 4
-par_bin 2 4 9
-par_bin 2 4 9
+par_bin 10
+par_bin 1 10
+par_bin 10 1
+par_bin 2 9
+par_bin 3 8
+par_bin 4 7
+par_bin 5 6
+par_bin 6 5
+par_bin 7 4
+par_bin 8 3
+par_bin 9 2
par_exit_code bug #52207: Exit status 0 when child job is killed, even with "now,fail=1"
par_exit_code # Ideally the command should return the same
par_exit_code # with or without parallel
@@ -2777,6 +2779,53 @@
par_no_newline_compress OK
par_no_newline_compress tagstring=-k compress=-k
par_no_newline_compress OK
+par_perlexpr_repl ### {= and =} in different groups separated by space
+par_perlexpr_repl b
+par_perlexpr_repl b
+par_perlexpr_repl bb
+par_perlexpr_repl bb
+par_perlexpr_repl b{= b
+par_perlexpr_repl b{=b
+par_perlexpr_repl b {=a
+par_perlexpr_repl {=a
+par_perlexpr_repl {= a
+par_perlexpr_repl {= a =}
+par_perlexpr_repl ### bug #45842: Do not evaluate {= =} twice
+par_perlexpr_repl 1
+par_perlexpr_repl 2
+par_perlexpr_repl 3
+par_perlexpr_repl 4
+par_perlexpr_repl 1
+par_perlexpr_repl 2
+par_perlexpr_repl 3
+par_perlexpr_repl 4
+par_perlexpr_repl 1 2
+par_perlexpr_repl 3 4
+par_perlexpr_repl 5 6
+par_perlexpr_repl 7 8
+par_perlexpr_repl 9 10
+par_perlexpr_repl 11 12
+par_perlexpr_repl 13 14
+par_perlexpr_repl 15 16
+par_perlexpr_repl 17 18
+par_perlexpr_repl 19 20
+par_perlexpr_repl 21 22
+par_perlexpr_repl 23 24
+par_perlexpr_repl 1
+par_perlexpr_repl 2
+par_perlexpr_repl 3
+par_perlexpr_repl 4
+par_perlexpr_repl 5
+par_perlexpr_repl 6
+par_perlexpr_repl 7
+par_perlexpr_repl 8
+par_perlexpr_repl 9
+par_perlexpr_repl 10
+par_perlexpr_repl 11
+par_perlexpr_repl 12
+par_perlexpr_repl ### bug #45939: {2} in {= =} fails
+par_perlexpr_repl OK
+par_perlexpr_repl OK-OK
par_race_condition1 ### Test race condition on 8 CPU (my laptop)
par_race_condition1 1
par_race_condition1 2
@@ -2788,6 +2837,8 @@
par_race_condition1 8
par_race_condition1 9
par_race_condition1 10
+par_reload_slf_every_second ### --slf should reload every second
+par_reload_slf_every_second OK
par_shard ### --shard
par_shard OK
par_shard OK
|
[-]
[+]
|
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 5642f8f374aa4881e96f4f49e932d109 -
+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
@@ -155,19 +321,6 @@
par__prefix_for_L_n_N_s 246
par__prefix_for_L_n_N_s 246
par__prefix_for_L_n_N_s 273
-par__tee_too_many_args ### Fail if there are more arguments than --jobs
-par__tee_too_many_args 1 1
-par__tee_too_many_args 1 10
-par__tee_too_many_args 1 11
-par__tee_too_many_args 2 2
-par__tee_too_many_args 3 3
-par__tee_too_many_args 4 4
-par__tee_too_many_args parallel: Warning: Only enough file handles to run 999 jobs in parallel.
-par__tee_too_many_args parallel: Warning: Try running 'parallel -j999 -N 999 --pipe parallel -j999'
-par__tee_too_many_args parallel: Warning: or increasing 'ulimit -n' (try: ulimit -n `ulimit -Hn`)
-par__tee_too_many_args parallel: Warning: or increasing 'nofile' in /etc/security/limits.conf
-par__tee_too_many_args parallel: Warning: or increasing /proc/sys/fs/file-max
-par__tee_too_many_args parallel: Error: --tee requires --jobs to be higher. Try --jobs 999.
par_children_receive_sig ### Do children receive --termseq signals
par_children_receive_sig 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-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-race01
^
|
@@ -1,3 +1,20 @@
+par_2jobs ### Test similar example as from man page - run 2 jobs simultaneously
+par_2jobs Expect done: 1 2 5 3 4
+par_2jobs Scheduling 5
+par_2jobs starting 5
+par_2jobs Scheduling 1
+par_2jobs starting 1
+par_2jobs Scheduling 2
+par_2jobs done 1
+par_2jobs starting 2
+par_2jobs Scheduling 3
+par_2jobs done 2
+par_2jobs starting 3
+par_2jobs Scheduling 4
+par_2jobs done 5
+par_2jobs starting 4
+par_2jobs done 3
+par_2jobs done 4
par_bug56403 bug #56403: --pipe block by time.
par_bug56403 1 job1a
par_bug56403 2 job2b
@@ -108,6 +125,14 @@
par_print_before_halt_on_error 2 0.1 0.1
par_print_before_halt_on_error 2 parallel: This job failed:
par_print_before_halt_on_error 2 perl -e 'sleep 1; sleep $ARGV[0]; print STDERR ",@ARGV,"\n"; 2 > 0 ? exit shift : exit not shift;' 1
+par_sem_2jobs ### Test semaphore 2 jobs running simultaneously
+par_sem_2jobs job1a 1
+par_sem_2jobs job2a 2
+par_sem_2jobs job1b 3
+par_sem_2jobs job3a 4
+par_sem_2jobs job2b 5
+par_sem_2jobs job3b 6
+par_sem_2jobs done
par_sem_dir ### bug #58985: sem stall if .parallel/semaphores is chmod 0
par_sem_dir parallel: Error: Semaphoredir must be writable: '~/.parallel/semaphores'
par_tmux_termination ### --tmux test - check termination
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh1
^
|
@@ -31,13 +31,13 @@
par_--onall_--transfer ls: cannot access 'bug46519.ccc': No such file or directory
par_--ssh_ssh_in_ssh ### bug #61894: Pack ssh code in eval protection
par_--ssh_ssh_in_ssh Unquoted ssh should work
-par_--ssh_ssh_in_ssh aspire
+par_--ssh_ssh_in_ssh myhostname
par_--ssh_ssh_in_ssh OK
-par_--ssh_ssh_in_ssh aspire
+par_--ssh_ssh_in_ssh myhostname
par_--ssh_ssh_in_ssh OK
-par_--ssh_ssh_in_ssh aspire
+par_--ssh_ssh_in_ssh myhostname
par_--ssh_ssh_in_ssh OK
-par_--ssh_ssh_in_ssh aspire
+par_--ssh_ssh_in_ssh myhostname
par_--ssh_ssh_in_ssh OK
par_PARALLEL_SSH_function ### use function as $PARALLEL_SSH
par_PARALLEL_SSH_function Run through FOOSSH?
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh3
^
|
@@ -23,7 +23,7 @@
par_rplstr_return ### bug #45906: {= in header =}
par_rplstr_return returnfile45906
par_special_char_trc ### Special char file and dir transfer return and cleanup
-par_special_char_trc local
+par_special_char_trc local OK
par_special_char_trc remote OK
par_trailing_space_sshlogin ### trailing space in sshlogin
par_trailing_space_sshlogin sshlogin trailing space
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh4
^
|
@@ -6,6 +6,16 @@
par_--nonall_results parallel: Warning: --(n)onall + --results not supported (yet).
par_--nonall_results parallel: Warning: --(n)onall + --results not supported (yet).
par_--nonall_results /TMP/onall
+par_--nonall_results /TMP/onall/noslashcsh@lo
+par_--nonall_results /TMP/onall/noslashcsh@lo/1
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/id
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/id/seq
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/id/stderr
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/id/stdout
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd/seq
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd/stderr
+par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd/stdout
par_--nonall_results /TMP/onall/noslashsh@lo
par_--nonall_results /TMP/onall/noslashsh@lo/1
par_--nonall_results /TMP/onall/noslashsh@lo/1/id
@@ -17,92 +27,82 @@
par_--nonall_results /TMP/onall/noslashsh@lo/1/pwd/stderr
par_--nonall_results /TMP/onall/noslashsh@lo/1/pwd/stdout
par_--nonall_results /TMP/onall/rpl1noslash
-par_--nonall_results /TMP/onall/rpl1noslash/idsh@lo.seq
-par_--nonall_results /TMP/onall/rpl1noslash/idcsh@lo.seq
par_--nonall_results /TMP/onall/rpl1noslash/idcsh@lo
-par_--nonall_results /TMP/onall/rpl1noslash/pwdsh@lo.err
par_--nonall_results /TMP/onall/rpl1noslash/idcsh@lo.err
-par_--nonall_results /TMP/onall/rpl1noslash/pwdcsh@lo.err
+par_--nonall_results /TMP/onall/rpl1noslash/idcsh@lo.seq
par_--nonall_results /TMP/onall/rpl1noslash/idsh@lo
-par_--nonall_results /TMP/onall/rpl1noslash/pwdcsh@lo
-par_--nonall_results /TMP/onall/rpl1noslash/pwdsh@lo.seq
-par_--nonall_results /TMP/onall/rpl1noslash/pwdsh@lo
par_--nonall_results /TMP/onall/rpl1noslash/idsh@lo.err
+par_--nonall_results /TMP/onall/rpl1noslash/idsh@lo.seq
+par_--nonall_results /TMP/onall/rpl1noslash/pwdcsh@lo
+par_--nonall_results /TMP/onall/rpl1noslash/pwdcsh@lo.err
par_--nonall_results /TMP/onall/rpl1noslash/pwdcsh@lo.seq
-par_--nonall_results /TMP/onall/slash
-par_--nonall_results /TMP/onall/slash/sh@lo
-par_--nonall_results /TMP/onall/slash/sh@lo/1
-par_--nonall_results /TMP/onall/slash/sh@lo/1/id
-par_--nonall_results /TMP/onall/slash/sh@lo/1/id/seq
-par_--nonall_results /TMP/onall/slash/sh@lo/1/id/stderr
-par_--nonall_results /TMP/onall/slash/sh@lo/1/id/stdout
-par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd
-par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd/seq
-par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd/stderr
-par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd/stdout
-par_--nonall_results /TMP/onall/slash/csh@lo
-par_--nonall_results /TMP/onall/slash/csh@lo/1
-par_--nonall_results /TMP/onall/slash/csh@lo/1/id
-par_--nonall_results /TMP/onall/slash/csh@lo/1/id/seq
-par_--nonall_results /TMP/onall/slash/csh@lo/1/id/stderr
-par_--nonall_results /TMP/onall/slash/csh@lo/1/id/stdout
-par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd
-par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd/seq
-par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd/stderr
-par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd/stdout
-par_--nonall_results /TMP/onall/rplnoslash
-par_--nonall_results /TMP/onall/rplnoslash/idsh@lo.seq
-par_--nonall_results /TMP/onall/rplnoslash/idcsh@lo.seq
-par_--nonall_results /TMP/onall/rplnoslash/idcsh@lo
-par_--nonall_results /TMP/onall/rplnoslash/pwdsh@lo.err
-par_--nonall_results /TMP/onall/rplnoslash/idcsh@lo.err
-par_--nonall_results /TMP/onall/rplnoslash/pwdcsh@lo.err
-par_--nonall_results /TMP/onall/rplnoslash/idsh@lo
-par_--nonall_results /TMP/onall/rplnoslash/pwdcsh@lo
-par_--nonall_results /TMP/onall/rplnoslash/pwdsh@lo.seq
-par_--nonall_results /TMP/onall/rplnoslash/pwdsh@lo
-par_--nonall_results /TMP/onall/rplnoslash/idsh@lo.err
-par_--nonall_results /TMP/onall/rplnoslash/pwdcsh@lo.seq
+par_--nonall_results /TMP/onall/rpl1noslash/pwdsh@lo
+par_--nonall_results /TMP/onall/rpl1noslash/pwdsh@lo.err
+par_--nonall_results /TMP/onall/rpl1noslash/pwdsh@lo.seq
par_--nonall_results /TMP/onall/rpl1slash
par_--nonall_results /TMP/onall/rpl1slash/id
-par_--nonall_results /TMP/onall/rpl1slash/id/sh@lo.seq
+par_--nonall_results /TMP/onall/rpl1slash/id/csh@lo
par_--nonall_results /TMP/onall/rpl1slash/id/csh@lo.err
par_--nonall_results /TMP/onall/rpl1slash/id/csh@lo.seq
par_--nonall_results /TMP/onall/rpl1slash/id/sh@lo
-par_--nonall_results /TMP/onall/rpl1slash/id/csh@lo
par_--nonall_results /TMP/onall/rpl1slash/id/sh@lo.err
+par_--nonall_results /TMP/onall/rpl1slash/id/sh@lo.seq
par_--nonall_results /TMP/onall/rpl1slash/pwd
-par_--nonall_results /TMP/onall/rpl1slash/pwd/sh@lo.seq
+par_--nonall_results /TMP/onall/rpl1slash/pwd/csh@lo
par_--nonall_results /TMP/onall/rpl1slash/pwd/csh@lo.err
par_--nonall_results /TMP/onall/rpl1slash/pwd/csh@lo.seq
par_--nonall_results /TMP/onall/rpl1slash/pwd/sh@lo
-par_--nonall_results /TMP/onall/rpl1slash/pwd/csh@lo
par_--nonall_results /TMP/onall/rpl1slash/pwd/sh@lo.err
-par_--nonall_results /TMP/onall/noslashcsh@lo
-par_--nonall_results /TMP/onall/noslashcsh@lo/1
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/id
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/id/seq
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/id/stderr
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/id/stdout
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd/seq
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd/stderr
-par_--nonall_results /TMP/onall/noslashcsh@lo/1/pwd/stdout
+par_--nonall_results /TMP/onall/rpl1slash/pwd/sh@lo.seq
+par_--nonall_results /TMP/onall/rplnoslash
+par_--nonall_results /TMP/onall/rplnoslash/idcsh@lo
+par_--nonall_results /TMP/onall/rplnoslash/idcsh@lo.err
+par_--nonall_results /TMP/onall/rplnoslash/idcsh@lo.seq
+par_--nonall_results /TMP/onall/rplnoslash/idsh@lo
+par_--nonall_results /TMP/onall/rplnoslash/idsh@lo.err
+par_--nonall_results /TMP/onall/rplnoslash/idsh@lo.seq
+par_--nonall_results /TMP/onall/rplnoslash/pwdcsh@lo
+par_--nonall_results /TMP/onall/rplnoslash/pwdcsh@lo.err
+par_--nonall_results /TMP/onall/rplnoslash/pwdcsh@lo.seq
+par_--nonall_results /TMP/onall/rplnoslash/pwdsh@lo
+par_--nonall_results /TMP/onall/rplnoslash/pwdsh@lo.err
+par_--nonall_results /TMP/onall/rplnoslash/pwdsh@lo.seq
par_--nonall_results /TMP/onall/rplslash
par_--nonall_results /TMP/onall/rplslash/id
-par_--nonall_results /TMP/onall/rplslash/id/sh@lo.seq
+par_--nonall_results /TMP/onall/rplslash/id/csh@lo
par_--nonall_results /TMP/onall/rplslash/id/csh@lo.err
par_--nonall_results /TMP/onall/rplslash/id/csh@lo.seq
par_--nonall_results /TMP/onall/rplslash/id/sh@lo
-par_--nonall_results /TMP/onall/rplslash/id/csh@lo
par_--nonall_results /TMP/onall/rplslash/id/sh@lo.err
+par_--nonall_results /TMP/onall/rplslash/id/sh@lo.seq
par_--nonall_results /TMP/onall/rplslash/pwd
-par_--nonall_results /TMP/onall/rplslash/pwd/sh@lo.seq
+par_--nonall_results /TMP/onall/rplslash/pwd/csh@lo
par_--nonall_results /TMP/onall/rplslash/pwd/csh@lo.err
par_--nonall_results /TMP/onall/rplslash/pwd/csh@lo.seq
par_--nonall_results /TMP/onall/rplslash/pwd/sh@lo
-par_--nonall_results /TMP/onall/rplslash/pwd/csh@lo
par_--nonall_results /TMP/onall/rplslash/pwd/sh@lo.err
+par_--nonall_results /TMP/onall/rplslash/pwd/sh@lo.seq
+par_--nonall_results /TMP/onall/slash
+par_--nonall_results /TMP/onall/slash/csh@lo
+par_--nonall_results /TMP/onall/slash/csh@lo/1
+par_--nonall_results /TMP/onall/slash/csh@lo/1/id
+par_--nonall_results /TMP/onall/slash/csh@lo/1/id/seq
+par_--nonall_results /TMP/onall/slash/csh@lo/1/id/stderr
+par_--nonall_results /TMP/onall/slash/csh@lo/1/id/stdout
+par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd
+par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd/seq
+par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd/stderr
+par_--nonall_results /TMP/onall/slash/csh@lo/1/pwd/stdout
+par_--nonall_results /TMP/onall/slash/sh@lo
+par_--nonall_results /TMP/onall/slash/sh@lo/1
+par_--nonall_results /TMP/onall/slash/sh@lo/1/id
+par_--nonall_results /TMP/onall/slash/sh@lo/1/id/seq
+par_--nonall_results /TMP/onall/slash/sh@lo/1/id/stderr
+par_--nonall_results /TMP/onall/slash/sh@lo/1/id/stdout
+par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd
+par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd/seq
+par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd/stderr
+par_--nonall_results /TMP/onall/slash/sh@lo/1/pwd/stdout
par_--nonall_results ### --results --nonall
par_--nonall_results parallel: Warning: --(n)onall + --results not supported (yet).
par_--nonall_results parallel: Warning: --(n)onall + --results not supported (yet).
@@ -111,55 +111,55 @@
par_--nonall_results parallel: Warning: --(n)onall + --results not supported (yet).
par_--nonall_results parallel: Warning: --(n)onall + --results not supported (yet).
par_--nonall_results /TMP/nonall
+par_--nonall_results /TMP/nonall/noslashcsh@lo
+par_--nonall_results /TMP/nonall/noslashcsh@lo/1
+par_--nonall_results /TMP/nonall/noslashcsh@lo/1/seq
+par_--nonall_results /TMP/nonall/noslashcsh@lo/1/stderr
+par_--nonall_results /TMP/nonall/noslashcsh@lo/1/stdout
par_--nonall_results /TMP/nonall/noslashsh@lo
par_--nonall_results /TMP/nonall/noslashsh@lo/1
par_--nonall_results /TMP/nonall/noslashsh@lo/1/seq
par_--nonall_results /TMP/nonall/noslashsh@lo/1/stderr
par_--nonall_results /TMP/nonall/noslashsh@lo/1/stdout
par_--nonall_results /TMP/nonall/rpl1noslash
-par_--nonall_results /TMP/nonall/rpl1noslash/sh@lo.seq
+par_--nonall_results /TMP/nonall/rpl1noslash/csh@lo
par_--nonall_results /TMP/nonall/rpl1noslash/csh@lo.err
par_--nonall_results /TMP/nonall/rpl1noslash/csh@lo.seq
par_--nonall_results /TMP/nonall/rpl1noslash/sh@lo
-par_--nonall_results /TMP/nonall/rpl1noslash/csh@lo
par_--nonall_results /TMP/nonall/rpl1noslash/sh@lo.err
-par_--nonall_results /TMP/nonall/slash
-par_--nonall_results /TMP/nonall/slash/sh@lo
-par_--nonall_results /TMP/nonall/slash/sh@lo/1
-par_--nonall_results /TMP/nonall/slash/sh@lo/1/seq
-par_--nonall_results /TMP/nonall/slash/sh@lo/1/stderr
-par_--nonall_results /TMP/nonall/slash/sh@lo/1/stdout
-par_--nonall_results /TMP/nonall/slash/csh@lo
-par_--nonall_results /TMP/nonall/slash/csh@lo/1
-par_--nonall_results /TMP/nonall/slash/csh@lo/1/seq
-par_--nonall_results /TMP/nonall/slash/csh@lo/1/stderr
-par_--nonall_results /TMP/nonall/slash/csh@lo/1/stdout
-par_--nonall_results /TMP/nonall/rplnoslash
-par_--nonall_results /TMP/nonall/rplnoslash/sh@lo.seq
-par_--nonall_results /TMP/nonall/rplnoslash/csh@lo.err
-par_--nonall_results /TMP/nonall/rplnoslash/csh@lo.seq
-par_--nonall_results /TMP/nonall/rplnoslash/sh@lo
-par_--nonall_results /TMP/nonall/rplnoslash/csh@lo
-par_--nonall_results /TMP/nonall/rplnoslash/sh@lo.err
+par_--nonall_results /TMP/nonall/rpl1noslash/sh@lo.seq
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh5
^
|
@@ -1,36 +1,6 @@
-par_ssh_cmd_with_newline ### Check --ssh with \n works
-par_ssh_cmd_with_newline uid=1003(sh) gid=1003(sh) groups=1003(sh)
-par_pipe_retries ### bug #45025: --pipe --retries does not reschedule on other host
-par_pipe_retries parallel: Warning: Could not figure out number of cpus on a.a (). Using 1.
-par_pipe_retries 165668 165668 1048571
-par_pipe_retries localhost-:
-par_pipe_retries 134362 134362 940534
-par_pipe_retries localhost-:
-par_pipe_retries parallel: Error: --retries cannot be combined with --roundrobin.
-par_input_loss_pipe ### bug #36595: silent loss of input with --pipe and --sshlogin
-par_input_loss_pipe 1 10000 48894
-par_env_parallel_onall bug #54352: env_parallel -Slo --nonall myfunc broken in 20180722
-par_env_parallel_onall Myfunc works
-par_env_parallel_onall Myfunc works
-par_controlmaster ### Check -M works if TMPDIR contains space
-par_controlmaster 1
-par_controlmaster 2
-par_controlmaster 3
-par_controlmaster 1
-par_controlmaster 2
-par_controlmaster 3
-par_controlmaster Part2
-par_controlmaster OK
-par_basefile_cleanup ### bug #46520: --basefile cleans up without --cleanup
-par_basefile_cleanup bug_46520
-par_basefile_cleanup bug_46520
-par_basefile_cleanup bug_46520
-par_basefile_cleanup ls: cannot access 'bug_46520': No such file or directory
-par_--ssh_lsh ### --ssh lsh
-par_--ssh_lsh OK
-par_--ssh_lsh OK
-par_--ssh_lsh OK
-par_--ssh_lsh OK
+par_--controlmaster_eats bug #36707: --controlmaster eats jobs
+par_--controlmaster_eats OK1
+par_--controlmaster_eats OK2
par_--ssh_autossh ### --ssh autossh
par_--ssh_autossh OK
par_--ssh_autossh OK
@@ -69,555 +39,587 @@
par_--ssh_autossh rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
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_--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
-par_--shellquote_command_len -Slo -j10 " 1 3 1 1 28
-par_--shellquote_command_len -Slo -j10 " 1 4 1 1 82
-par_--shellquote_command_len -Slo -j10 " 1 5 1 1 244
-par_--shellquote_command_len -Slo -j10 " 1 6 1 1 730
-par_--shellquote_command_len -Slo -j10 " 1 7 1 1 2188
-par_--shellquote_command_len -Slo -j10 " 1 8 1 1 6562
-par_--shellquote_command_len -Slo -j10 " 1 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 1 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 2 1 1 1 5
-par_--shellquote_command_len -Slo -j10 " 2 2 1 1 11
-par_--shellquote_command_len -Slo -j10 " 2 3 1 1 29
-par_--shellquote_command_len -Slo -j10 " 2 4 1 1 83
-par_--shellquote_command_len -Slo -j10 " 2 5 1 1 245
-par_--shellquote_command_len -Slo -j10 " 2 6 1 1 731
-par_--shellquote_command_len -Slo -j10 " 2 7 1 1 2189
-par_--shellquote_command_len -Slo -j10 " 2 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 2 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 2 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 3 1 1 1 6
-par_--shellquote_command_len -Slo -j10 " 3 2 1 1 12
-par_--shellquote_command_len -Slo -j10 " 3 3 1 1 30
-par_--shellquote_command_len -Slo -j10 " 3 4 1 1 84
-par_--shellquote_command_len -Slo -j10 " 3 5 1 1 246
-par_--shellquote_command_len -Slo -j10 " 3 6 1 1 732
-par_--shellquote_command_len -Slo -j10 " 3 7 1 1 2190
-par_--shellquote_command_len -Slo -j10 " 3 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 3 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 3 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 4 1 1 1 7
-par_--shellquote_command_len -Slo -j10 " 4 2 1 1 13
-par_--shellquote_command_len -Slo -j10 " 4 3 1 1 31
-par_--shellquote_command_len -Slo -j10 " 4 4 1 1 85
-par_--shellquote_command_len -Slo -j10 " 4 5 1 1 247
-par_--shellquote_command_len -Slo -j10 " 4 6 1 1 733
-par_--shellquote_command_len -Slo -j10 " 4 7 1 1 2191
-par_--shellquote_command_len -Slo -j10 " 4 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 4 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 4 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 5 1 1 1 8
-par_--shellquote_command_len -Slo -j10 " 5 2 1 1 14
-par_--shellquote_command_len -Slo -j10 " 5 3 1 1 32
-par_--shellquote_command_len -Slo -j10 " 5 4 1 1 86
-par_--shellquote_command_len -Slo -j10 " 5 5 1 1 248
-par_--shellquote_command_len -Slo -j10 " 5 6 1 1 734
-par_--shellquote_command_len -Slo -j10 " 5 7 1 1 2192
-par_--shellquote_command_len -Slo -j10 " 5 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 5 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 5 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 6 1 1 1 9
-par_--shellquote_command_len -Slo -j10 " 6 2 1 1 15
-par_--shellquote_command_len -Slo -j10 " 6 3 1 1 33
-par_--shellquote_command_len -Slo -j10 " 6 4 1 1 87
-par_--shellquote_command_len -Slo -j10 " 6 5 1 1 249
-par_--shellquote_command_len -Slo -j10 " 6 6 1 1 735
-par_--shellquote_command_len -Slo -j10 " 6 7 0 0 0
-par_--shellquote_command_len -Slo -j10 " 6 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 6 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 6 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 7 1 1 1 10
-par_--shellquote_command_len -Slo -j10 " 7 2 1 1 16
-par_--shellquote_command_len -Slo -j10 " 7 3 1 1 34
-par_--shellquote_command_len -Slo -j10 " 7 4 1 1 88
-par_--shellquote_command_len -Slo -j10 " 7 5 1 1 250
-par_--shellquote_command_len -Slo -j10 " 7 6 1 1 736
-par_--shellquote_command_len -Slo -j10 " 7 7 0 0 0
-par_--shellquote_command_len -Slo -j10 " 7 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 7 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 7 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 8 1 1 1 11
-par_--shellquote_command_len -Slo -j10 " 8 2 1 1 17
-par_--shellquote_command_len -Slo -j10 " 8 3 1 1 35
-par_--shellquote_command_len -Slo -j10 " 8 4 1 1 89
-par_--shellquote_command_len -Slo -j10 " 8 5 1 1 251
-par_--shellquote_command_len -Slo -j10 " 8 6 1 1 737
-par_--shellquote_command_len -Slo -j10 " 8 7 0 0 0
-par_--shellquote_command_len -Slo -j10 " 8 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 8 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 8 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 9 1 1 1 12
-par_--shellquote_command_len -Slo -j10 " 9 2 1 1 18
-par_--shellquote_command_len -Slo -j10 " 9 3 1 1 36
-par_--shellquote_command_len -Slo -j10 " 9 4 1 1 90
-par_--shellquote_command_len -Slo -j10 " 9 5 1 1 252
-par_--shellquote_command_len -Slo -j10 " 9 6 1 1 738
-par_--shellquote_command_len -Slo -j10 " 9 7 0 0 0
-par_--shellquote_command_len -Slo -j10 " 9 8 0 0 0
-par_--shellquote_command_len -Slo -j10 " 9 9 0 0 0
-par_--shellquote_command_len -Slo -j10 " 9 10 0 0 0
-par_--shellquote_command_len -Slo -j10 " 10 1 1 1 13
-par_--shellquote_command_len -Slo -j10 " 10 2 1 1 19
-par_--shellquote_command_len -Slo -j10 " 10 3 1 1 37
-par_--shellquote_command_len -Slo -j10 " 10 4 1 1 91
-par_--shellquote_command_len -Slo -j10 " 10 5 1 1 253
-par_--shellquote_command_len -Slo -j10 " 10 6 1 1 739
-par_--shellquote_command_len -Slo -j10 " 10 7 0 0 0
-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 1 1 1 4
-par_--shellquote_command_len -Slo -j10 ' 1 2 1 1 10
-par_--shellquote_command_len -Slo -j10 ' 1 3 1 1 28
-par_--shellquote_command_len -Slo -j10 ' 1 4 1 1 82
-par_--shellquote_command_len -Slo -j10 ' 1 5 1 1 244
-par_--shellquote_command_len -Slo -j10 ' 1 6 1 1 730
-par_--shellquote_command_len -Slo -j10 ' 1 7 1 1 2188
-par_--shellquote_command_len -Slo -j10 ' 1 8 1 1 6562
-par_--shellquote_command_len -Slo -j10 ' 1 9 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 1 10 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 2 1 1 1 5
-par_--shellquote_command_len -Slo -j10 ' 2 2 1 1 11
-par_--shellquote_command_len -Slo -j10 ' 2 3 1 1 29
-par_--shellquote_command_len -Slo -j10 ' 2 4 1 1 83
-par_--shellquote_command_len -Slo -j10 ' 2 5 1 1 245
-par_--shellquote_command_len -Slo -j10 ' 2 6 1 1 731
-par_--shellquote_command_len -Slo -j10 ' 2 7 1 1 2189
-par_--shellquote_command_len -Slo -j10 ' 2 8 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 2 9 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 2 10 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 3 1 1 1 6
-par_--shellquote_command_len -Slo -j10 ' 3 2 1 1 12
-par_--shellquote_command_len -Slo -j10 ' 3 3 1 1 30
-par_--shellquote_command_len -Slo -j10 ' 3 4 1 1 84
-par_--shellquote_command_len -Slo -j10 ' 3 5 1 1 246
-par_--shellquote_command_len -Slo -j10 ' 3 6 1 1 732
-par_--shellquote_command_len -Slo -j10 ' 3 7 1 1 2190
-par_--shellquote_command_len -Slo -j10 ' 3 8 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 3 9 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 3 10 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 4 1 1 1 7
-par_--shellquote_command_len -Slo -j10 ' 4 2 1 1 13
-par_--shellquote_command_len -Slo -j10 ' 4 3 1 1 31
-par_--shellquote_command_len -Slo -j10 ' 4 4 1 1 85
-par_--shellquote_command_len -Slo -j10 ' 4 5 1 1 247
-par_--shellquote_command_len -Slo -j10 ' 4 6 1 1 733
-par_--shellquote_command_len -Slo -j10 ' 4 7 1 1 2191
-par_--shellquote_command_len -Slo -j10 ' 4 8 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 4 9 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 4 10 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 5 1 1 1 8
-par_--shellquote_command_len -Slo -j10 ' 5 2 1 1 14
-par_--shellquote_command_len -Slo -j10 ' 5 3 1 1 32
-par_--shellquote_command_len -Slo -j10 ' 5 4 1 1 86
-par_--shellquote_command_len -Slo -j10 ' 5 5 1 1 248
-par_--shellquote_command_len -Slo -j10 ' 5 6 1 1 734
-par_--shellquote_command_len -Slo -j10 ' 5 7 1 1 2192
-par_--shellquote_command_len -Slo -j10 ' 5 8 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 5 9 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 5 10 0 0 0
-par_--shellquote_command_len -Slo -j10 ' 6 1 1 1 9
-par_--shellquote_command_len -Slo -j10 ' 6 2 1 1 15
-par_--shellquote_command_len -Slo -j10 ' 6 3 1 1 33
-par_--shellquote_command_len -Slo -j10 ' 6 4 1 1 87
-par_--shellquote_command_len -Slo -j10 ' 6 5 1 1 249
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh7
^
|
@@ -21,21 +21,21 @@
par_--env_underscore_bash variables in aliases in and arrays in functions work
par_--env_underscore_bash variables in aliases in and arrays in functions work
par_--env_underscore_bash variables in aliases in and arrays in functions work
-par_--env_underscore_bash script: line XXX: not_copied_alias: command not found
-par_--env_underscore_bash script: line XXX: not_copied_func: command not found
+par_--env_underscore_bash script: line 99: not_copied_alias: command not found
+par_--env_underscore_bash script: line 99: not_copied_func: command not found
par_--env_underscore_bash error=OK
par_--env_underscore_bash error=OK
par_--env_underscore_bash aliases in and arrays in functions work
par_--env_underscore_bash aliases in and arrays in functions work
par_--env_underscore_bash aliases in functions work
par_--env_underscore_bash aliases in functions work
-par_--env_underscore_bash environment: line XXX: myecho: command not found
+par_--env_underscore_bash environment: line 99: myecho: command not found
par_--env_underscore_bash OK if no myecho ^^^^^^^^^^^^^^^^^^^^^^^^^
-par_--env_underscore_bash script: line XXX: myecho: command not found
+par_--env_underscore_bash script: line 99: myecho: command not found
par_--env_underscore_bash OK if no myecho ^^^^^^^^^^^^^^^^^^^^^^^^^
-par_--env_underscore_bash /bin/bash: line XXX: myfunc: command not found
+par_--env_underscore_bash /bin/bash: line 99: myfunc: command not found
par_--env_underscore_bash OK if no myfunc ^^^^^^^^^^^^^^^^^^^^^^^^^
-par_--env_underscore_bash script: line XXX: myfunc: command not found
+par_--env_underscore_bash script: line 99: myfunc: command not found
par_--env_underscore_bash OK if no myfunc ^^^^^^^^^^^^^^^^^^^^^^^^^
par_--env_underscore_csh ### csh
par_--env_underscore_csh ### Testing of --env _
par_--env_underscore_csh
@@ -80,10 +80,10 @@
par_--env_underscore_fish variables in aliases and arrays in functions work
par_--env_underscore_fish variables in aliases and arrays in functions work
par_--env_underscore_fish Test ignoring
-par_--env_underscore_fish script (line XXX):
+par_--env_underscore_fish script (line 99):
par_--env_underscore_fish not_copied_alias 'error=OK'
par_--env_underscore_fish ^
-par_--env_underscore_fish script (line XXX):
+par_--env_underscore_fish script (line 99):
par_--env_underscore_fish not_copied_func 'error=OK'
par_--env_underscore_fish ^
par_--env_underscore_fish error=OK
@@ -101,7 +101,7 @@
par_--env_underscore_fish myecho $myarray functions $argv
par_--env_underscore_fish ^
par_--env_underscore_fish in function 'myfunc' with arguments 'work'
-par_--env_underscore_fish called on line XXX of file script
+par_--env_underscore_fish called on line 99 of file script
par_--env_underscore_fish OK if ^^^^^^^^^^^^^^^^^ no myecho
par_--env_underscore_fish myfunc work
par_--env_underscore_fish ^
@@ -547,9 +547,9 @@
par__man_ksh too
par__man_ksh This may never work
par__man_ksh https://unix.stackexchange.com/questions/457031/extract-full-function-definitions
-par__man_ksh /bin/ksh: line 3: syntax error at line XXX: `{' unmatched
-par__man_ksh /bin/ksh: line 3: syntax error at line XXX: `{' unmatched
-par__man_ksh /bin/ksh: line 3: syntax error at line XXX: `{' unmatched
+par__man_ksh /bin/ksh: line 3: syntax error at line 99: `{' unmatched
+par__man_ksh /bin/ksh: line 3: syntax error at line 99: `{' unmatched
+par__man_ksh /bin/ksh: line 3: syntax error at line 99: `{' unmatched
par__man_ksh exit value 2 should be 2
par__man_ksh Unknown option: no-such-option
par__man_ksh exit value 255 should be 255
@@ -799,21 +799,21 @@
par_env_parallel_--session_ash ### Test env_parallel --session
par_env_parallel_--session_ash ### level0 should be hidden, level1 should be transferred
par_env_parallel_--session_ash
-par_env_parallel_--session_ash script: 33: level0func: not found
-par_env_parallel_--session_ash script: 33: level0alias: not found
-par_env_parallel_--session_ash script: 33: Bad substitution
+par_env_parallel_--session_ash script: 99: level0func: not found
+par_env_parallel_--session_ash script: 99: level0alias: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash
-par_env_parallel_--session_ash /bin/ash: XXX: level0func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: level0alias: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level0func: not found
+par_env_parallel_--session_ash /bin/ash: 999: level0alias: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash l1var
par_env_parallel_--session_ash l1alias
-par_env_parallel_--session_ash script: 33: level1func: not found
-par_env_parallel_--session_ash script: 33: Bad substitution
+par_env_parallel_--session_ash script: 99: level1func: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash l1var
par_env_parallel_--session_ash l1alias
-par_env_parallel_--session_ash /bin/ash: XXX: level1func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level1func: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash ### level0+1 should be hidden, level2 should be transferred
par_env_parallel_--session_ash
par_env_parallel_--session_ash script: 4: level0func: not found
@@ -841,54 +841,54 @@
par_env_parallel_--session_ash /bin/ash: 3: Bad substitution
par_env_parallel_--session_ash ### level0 should be hidden, level1+2 should be transferred
par_env_parallel_--session_ash
-par_env_parallel_--session_ash script: 35: level0func: not found
-par_env_parallel_--session_ash script: 35: level0alias: not found
-par_env_parallel_--session_ash script: 35: Bad substitution
+par_env_parallel_--session_ash script: 99: level0func: not found
+par_env_parallel_--session_ash script: 99: level0alias: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash
-par_env_parallel_--session_ash /bin/ash: XXX: level0func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: level0alias: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level0func: not found
+par_env_parallel_--session_ash /bin/ash: 999: level0alias: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash l1var
par_env_parallel_--session_ash l1alias
-par_env_parallel_--session_ash script: 35: level1func: not found
-par_env_parallel_--session_ash script: 35: Bad substitution
+par_env_parallel_--session_ash script: 99: level1func: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash l1var
par_env_parallel_--session_ash l1alias
-par_env_parallel_--session_ash /bin/ash: XXX: level1func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level1func: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash l2var
par_env_parallel_--session_ash l2alias
-par_env_parallel_--session_ash script: 35: level2func: not found
-par_env_parallel_--session_ash script: 35: Bad substitution
+par_env_parallel_--session_ash script: 99: level2func: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash l2var
par_env_parallel_--session_ash l2alias
-par_env_parallel_--session_ash /bin/ash: XXX: level2func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level2func: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash ### level0+1+2 should be transferred
par_env_parallel_--session_ash l0var
par_env_parallel_--session_ash l0alias
-par_env_parallel_--session_ash script: 30: level0func: not found
-par_env_parallel_--session_ash script: 30: Bad substitution
+par_env_parallel_--session_ash script: 99: level0func: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash l0var
par_env_parallel_--session_ash l0alias
-par_env_parallel_--session_ash /bin/ash: XXX: level0func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level0func: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash l1var
par_env_parallel_--session_ash l1alias
-par_env_parallel_--session_ash script: 30: level1func: not found
-par_env_parallel_--session_ash script: 30: Bad substitution
+par_env_parallel_--session_ash script: 99: level1func: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash l1var
par_env_parallel_--session_ash l1alias
-par_env_parallel_--session_ash /bin/ash: XXX: level1func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level1func: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash l2var
par_env_parallel_--session_ash l2alias
-par_env_parallel_--session_ash script: 30: level2func: not found
-par_env_parallel_--session_ash script: 30: Bad substitution
+par_env_parallel_--session_ash script: 99: level2func: not found
+par_env_parallel_--session_ash script: 99: Bad substitution
par_env_parallel_--session_ash l2var
par_env_parallel_--session_ash l2alias
-par_env_parallel_--session_ash /bin/ash: XXX: level2func: not found
-par_env_parallel_--session_ash /bin/ash: XXX: Bad substitution
+par_env_parallel_--session_ash /bin/ash: 999: level2func: not found
+par_env_parallel_--session_ash /bin/ash: 999: Bad substitution
par_env_parallel_--session_ash /bin/ash: 1: aliasbefore: not found
par_env_parallel_--session_ash script: 2: aliasbefore: not found
par_env_parallel_--session_ash no_before
@@ -901,12 +901,12 @@
par_env_parallel_--session_bash ### level0 should be hidden, level1 should be transferred
par_env_parallel_--session_bash
par_env_parallel_--session_bash fail
-par_env_parallel_--session_bash script: line XXX: level0func: command not found
-par_env_parallel_--session_bash script: line XXX: level0alias: command not found
+par_env_parallel_--session_bash script: line 99: level0func: command not found
+par_env_parallel_--session_bash script: line 99: level0alias: command not found
par_env_parallel_--session_bash
par_env_parallel_--session_bash fail
-par_env_parallel_--session_bash /bin/bash: line XXX: level0func: command not found
-par_env_parallel_--session_bash /bin/bash: line XXX: level0alias: command not found
+par_env_parallel_--session_bash /bin/bash: line 99: level0func: command not found
+par_env_parallel_--session_bash /bin/bash: line 99: level0alias: command not found
par_env_parallel_--session_bash l1var
par_env_parallel_--session_bash l1func
par_env_parallel_--session_bash l1alias
@@ -918,20 +918,20 @@
par_env_parallel_--session_bash ### level0+1 should be hidden, level2 should be transferred
par_env_parallel_--session_bash
par_env_parallel_--session_bash fail
-par_env_parallel_--session_bash script: line XXX: level0func: command not found
-par_env_parallel_--session_bash script: line XXX: level0alias: command not found
+par_env_parallel_--session_bash script: line 99: level0func: command not found
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh8
^
|
@@ -4,6 +4,22 @@
par_filter_host_noise localhost Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
par_filter_host_noise localhost
par_filter_host_noise localhost OK
par_filter_host_noise localhost Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
par_filter_host_noise localhost
+par_filter_host_noise ### bug #64237: --filter-hosts and VisualHostKey=yes
+par_filter_host_noise localhost OK
+par_filter_host_noise localhost Host key fingerprint is
+par_filter_host_noise localhost +,,,,,,,,,,,,,,,,,+
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost |,,,,,,,,,,,,,,,,,|
+par_filter_host_noise localhost +,,,,,,,,,,,,,,,,,+
par_filter_host_noise localhost
+par_filter_host_noise localhost OK
+par_filter_host_noise localhost Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
par_filter_host_noise localhost
par_load_csh ### Gave Word too long.
par_load_csh a
par_path_remote_bash bug #47695: How to set $PATH on remote? Bash
|
[-]
[+]
|
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 >= 63664) 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
-a3c892de2524f32f78550b47336eadd0 -
+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
-a98747678a5d18c4470a073812437ab2 -
+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
-ba869d577103ef0cc6b6045c2a618c43 -
+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"'
-63654
-63654
-41586
+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-local9
^
|
@@ -341,10 +341,6 @@
a
nice parallel -j1 -I :: -X echo 'a::b::^c::[.}c' ::: 1
a1b1^c1[.}c
-echo "### BUG: The length for -X is not close to max (131072)"
-### BUG: The length for -X is not close to max (131072)
-seq 1 4000 | nice parallel -k -X echo {.} aa {}{.} {}{}d{} {}dd{}d{.} |head -n 1 |wc
- 1 6693 63652
echo '### Test -N'
### Test -N
seq 1 5 | $NICEPAR -kN3 echo {1} {2} {3}
|
[-]
[+]
|
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
^
|
@@ -1,13 +1,17 @@
+par__filter_hosts_different_errors ### --filter-hosts - OK, non-such-user, connection refused, wrong host
+par__filter_hosts_different_errors myhostname
+par__filter_hosts_no_ssh_nxserver ### test --filter-hosts with server w/o ssh, non-existing server
+par__filter_hosts_no_ssh_nxserver vagrant@parallel-server1
+par__filter_hosts_no_ssh_nxserver vagrant@parallel-server2
+par__filter_hosts_no_ssh_nxserver vagrant@parallel-server3
par_controlmaster_is_faster ### bug #41964: --controlmaster not seems to reuse OpenSSH connections to the same host
par_controlmaster_is_faster -M should finish first - eventhough there are 2x jobs
par_controlmaster_is_faster With --controlmaster - finish first
par_controlmaster_is_faster No --controlmaster - finish last
-par_filter_hosts_different_errors ### --filter-hosts - OK, non-such-user, connection refused, wrong host
-par_filter_hosts_different_errors aspire
-par_filter_hosts_no_ssh_nxserver ### test --filter-hosts with server w/o ssh, non-existing server
-par_filter_hosts_no_ssh_nxserver vagrant@parallel-server1
-par_filter_hosts_no_ssh_nxserver vagrant@parallel-server3
-par_filter_hosts_no_ssh_nxserver vagrant@parallel-server4
+par_force_number_of_cpu ### Check forced number of CPUs being respected
+par_force_number_of_cpu ssh is slow, so should only get 7. : should get the rest
+par_force_number_of_cpu 7
+par_force_number_of_cpu 13
par_special_ssh ### Test use special ssh
par_special_ssh TODO test ssh with > 9 simultaneous
par_special_ssh 1
@@ -114,12 +118,8 @@
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 8.8.8.8 echo 8.8.8.8
-par_timeout_retries parallel: Warning: This job was killed because it timed out:
-par_timeout_retries parallel: Warning: ssh 8.8.8.8 echo 8.8.8.8
-par_timeout_retries parallel: Warning: This job was killed because it timed out:
-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-server4
+par_timeout_retries vagrant@parallel-server2
par_timeout_retries vagrant@parallel-server3
par_workdir_in_HOME ### test --workdir . in $HOME
par_workdir_in_HOME OK
|
[-]
[+]
|
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
@@ -513,11 +490,11 @@
parallel: Warning: sleep 7; echo 7
parallel --eta sleep ::: 1 3 2 2 1 3 3 2 1
Computers / CPU cores / Max jobs to run
-1:local / 8 / 8
+1:local / 9 / 9
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
parallel --progress sleep ::: 1 3 2 2 1 3 3 2 1
Computers / CPU cores / Max jobs to run
-1:local / 8 / 8
+1:local / 9 / 9
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
seq 1000 | parallel -j10 --bar '(echo -n {};sleep 0.1)' \
2> >(perl -pe 'BEGIN{$/="\r";$|=1};s/\r/\n/g' |
@@ -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
@@ -1107,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 "$@"
@@ -1121,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 "
@@ -1140,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)
@@ -1158,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"
@@ -1173,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/parallel-virtualbox1
^
|
@@ -1,4 +1,9 @@
+rhel8 is up
+centos3 is up
par_warning_on_centos3 ### bug #37589: Red Hat 9 (Shrike) perl v5.8.0 built for i386-linux-thread-multi error
+par_warning_on_centos3 Old version gave:
+par_warning_on_centos3 . Bareword found where operator expected at /tmp/parallel-20120822 line 1294, near "$Global::original_stderr init_progress"
+par_warning_on_centos3 New versions should not give that.
par_warning_on_centos3 vagrant@centos3 /usr/local/bin/parallel-20120822 Bareword found where operator expected at /tmp/parallel-20120822 line 1249, near "$Global::original_stderr init_progress"
par_warning_on_centos3 vagrant@centos3 /usr/local/bin/parallel-20120822 (Missing operator before init_progress?)
par_warning_on_centos3 vagrant@centos3 /usr/local/bin/parallel-20120822 Bareword found where operator expected at /tmp/parallel-20120822 line 1294, near "$Global::original_stderr init_progress"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/sem01
^
|
@@ -1,20 +1,3 @@
-par_2jobs ### Test similar example as from man page - run 2 jobs simultaneously
-par_2jobs Expect done: 1 2 5 3 4
-par_2jobs Scheduling 5
-par_2jobs starting 5
-par_2jobs Scheduling 1
-par_2jobs starting 1
-par_2jobs Scheduling 2
-par_2jobs done 1
-par_2jobs starting 2
-par_2jobs Scheduling 3
-par_2jobs done 2
-par_2jobs starting 3
-par_2jobs Scheduling 4
-par_2jobs done 5
-par_2jobs starting 4
-par_2jobs done 3
-par_2jobs done 4
par_bg_p_should_error ### Test bug #33621: --bg -p should give an error message
par_bg_p_should_error parallel: Error: Jobs running in the background cannot be interactive.
par_exit ### Exit values
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/sql01
^
|
@@ -1,93 +1,93 @@
-### Test of #! -Y with file as input
-Testing if -Y works
-Yes it does
-### Test of #! --shebang with file as input
-Testing if --shebang works
-Yes it does
-### Test reading sql on command line
-Test reading SQL from command line
-Yes it does
-### Test reading sql from file
-Test reading SQL from file works
-Yes it does
-### Test dburl with username password host port
-Test reading SQL from file works
-Yes it does
-### Test .sql/aliases
-Test if .sql/aliases works
-Yes it does
-### Test sql:sql::alias
-Test sql:sql::alias
-Yes it works
-### Test --noheaders --no-headers -n
-abc 1
-def 3
-abc 1
-def 3
-abc 1
-def 3
-### Test --sep -s
-2 1
-2 1
-### Test --passthrough -p
-<TABLE BORDER=1><TR><TH>id</TH><TH>data</TH></TR><TR><TD>1</TD><TD>abc</TD></TR><TR><TD>3</TD><TD>def</TD></TR></TABLE>
-<TABLE BORDER=1><TR><TH>id</TH><TH>data</TH></TR><TR><TD>1</TD><TD>abc</TD></TR><TR><TD>3</TD><TD>def</TD></TR></TABLE>
-### Test --html
-<TABLE BORDER=1><TR><TH>id</TH><TH>data</TH></TR><TR><TD>1</TD><TD>abc</TD></TR><TR><TD>3</TD><TD>def</TD></TR></TABLE>
-### Test --show-processlist|proclist|listproc
- 2 17
- 2 17
- 2 17
-### Test --db-size --dbsize
-6
-6
-### Test --table-size --tablesize
-90
-90
-### Test --debug
-dburl mysql://tange:tange@localhost:3306/tange
-databasedriver mysql user tange password tange host localhost port 3306 database tange query
-[ | ((sleep 1; rm /TMP/tmpfile') & mysql --defaults-extra-file=/TMP/tmpfile' --host=localhost --user=tange --port=3306 tange)]
-Test if --debug works
-Yes it does
-### Test --version -V
- 13 74 535
- 13 74 535
-### Test -r
-dburl pg://nongood@127.0.0.3:2227/
-databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-### Test --retries=s
-dburl pg://nongood@127.0.0.3:2227/
-databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
-psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
- Is the server running on that host and accepting TCP/IP connections?
-### Test --help -h
-Usage:
-sql [options] dburl [sqlcommand]
-sql [options] dburl < sql_command_file
-
-See 'man sql' for the options
-Usage:
-sql [options] dburl [sqlcommand]
-sql [options] dburl < sql_command_file
-
-See 'man sql' for the options
+par_--debug ### Test --debug
+par_--debug dburl mysql://tange:tange@/
+par_--debug databasedriver mysql user tange password tange host port database tange query
+par_--debug [ | ((sleep 1; rm /TMP/tmpfile') & mysql --defaults-extra-file=/TMP/tmpfile' --user=tange tange)]
+par_--debug Test if --debug works
+par_--debug Yes it does
+par_--help ### Test --help -h
+par_--help Usage:
+par_--help sql [options] dburl [sqlcommand]
+par_--help sql [options] dburl < sql_command_file
+par_--help
+par_--help See 'man sql' for the options
+par_--help Usage:
+par_--help sql [options] dburl [sqlcommand]
+par_--help sql [options] dburl < sql_command_file
+par_--help
+par_--help See 'man sql' for the options
+par_--html ### Test --html
+par_--html <TABLE BORDER=1><TR><TH>id</TH><TH>data</TH></TR><TR><TD>1</TD><TD>abc</TD></TR><TR><TD>3</TD><TD>def</TD></TR></TABLE>
+par_--passthrough ### Test --passthrough -p
+par_--passthrough <TABLE BORDER=1><TR><TH>id</TH><TH>data</TH></TR><TR><TD>1</TD><TD>abc</TD></TR><TR><TD>3</TD><TD>def</TD></TR></TABLE>
+par_--passthrough <TABLE BORDER=1><TR><TH>id</TH><TH>data</TH></TR><TR><TD>1</TD><TD>abc</TD></TR><TR><TD>3</TD><TD>def</TD></TR></TABLE>
+par_--retries ### Test --retries=s
+par_--retries dburl pg://nongood@127.0.0.3:2227/
+par_--retries databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
+par_--retries [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
+par_--retries psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
+par_--retries Is the server running on that host and accepting TCP/IP connections?
+par_--retries [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
+par_--retries psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
+par_--retries Is the server running on that host and accepting TCP/IP connections?
+par_--retries [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
+par_--retries psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
+par_--retries Is the server running on that host and accepting TCP/IP connections?
+par_--retries [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
+par_--retries psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
+par_--retries Is the server running on that host and accepting TCP/IP connections?
+par_--sep ### Test --sep -s
+par_--sep 2 1
+par_--sep 2 1
+par_-_version ### Test --version -V
+par_-_version 13 74 535
+par_-_version 13 74 535
+par_-r ### Test -r - retry 3 times
+par_-r dburl pg://nongood@127.0.0.3:2227/
+par_-r databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
+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_-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_-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_noheaders ### Test --noheaders --no-headers -n
+par_noheaders abc 1
+par_noheaders def 3
+par_noheaders abc 1
+par_noheaders def 3
+par_noheaders abc 1
+par_noheaders def 3
+par_read_sql_from_file ### Test reading sql from file
+par_read_sql_from_file Test reading SQL from file works
+par_read_sql_from_file Yes it does
+par_shebang-Y ### Test of #! -Y with file as input
+par_shebang-Y Testing if -Y works
+par_shebang-Y Yes it does
+par_shebang_file ### Test of #! --shebang with file as input
+par_shebang_file Testing if --shebang works
+par_shebang_file Yes it does
+par_sql_aliases ### Test .sql/aliases
+par_sql_aliases Test if .sql/aliases works
+par_sql_aliases Yes it does
+par_sql_aliases ### Test sql:sql::alias
+par_sql_aliases Test sql:sql::alias
+par_sql_aliases Yes it works
+par_sql_on_cmdline ### Test reading sql on command line
+par_sql_on_cmdline Test reading SQL from command line
+par_sql_on_cmdline Yes it does
+par_tablesize ### Test --table-size --tablesize
+par_tablesize 94
+par_tablesize 94
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test18
^
|
@@ -77,27 +77,6 @@
8
9
10
-### Check forced number of CPUs being respected
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-aspire
-centos8.localdomain
-centos8.localdomain
-centos8.localdomain
-centos8.localdomain
-centos8.localdomain
-centos8.localdomain
-centos8.localdomain
### Check more than 9 simultaneous sshlogins
1
2
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test19
^
|
@@ -22,30 +22,30 @@
tmp/parallel.file.
newline2.out
good if no file
-ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
-ls: tmp/parallel.file*: No such file or directory
OK
+ls: cannot access 'tmp/parallel.file*': No such file or directory
+ls: tmp/parallel.file*: No such file or directory
### --transfer --return --cleanup - file with newline
tmp/parallel.file.
newline1.out
tmp/parallel.file.
newline2.out
good if no file
-ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
-ls: tmp/parallel.file*: No such file or directory
OK
+ls: cannot access 'tmp/parallel.file*': No such file or directory
+ls: tmp/parallel.file*: No such file or directory
### --trc - file with newline
tmp/parallel.file.
newline1.out
tmp/parallel.file.
newline2.out
good if no file
-ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
-ls: tmp/parallel.file*: No such file or directory
OK
+ls: cannot access 'tmp/parallel.file*': No such file or directory
+ls: tmp/parallel.file*: No such file or directory
### --trc - multiple file with newline
tmp/parallel.file.
newline1.out
@@ -56,10 +56,10 @@
tmp/parallel.file.
newline2.out2
good if no file
-ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
-ls: tmp/parallel.file*: No such file or directory
OK
+ls: cannot access 'tmp/parallel.file*': No such file or directory
+ls: tmp/parallel.file*: No such file or directory
### Test use special ssh
tmp/parallel.file.
newline1.out
@@ -70,10 +70,10 @@
tmp/parallel.file.
newline2.out2
good if no file
-ls: cannot access 'tmp/parallel.file*': No such file or directory
OK
-ls: tmp/parallel.file*: No such file or directory
OK
+ls: cannot access 'tmp/parallel.file*': No such file or directory
+ls: tmp/parallel.file*: No such file or directory
Input for ssh
-l vagrant one-server -- exec mkdir -p ./.
-l vagrant one-server rsync --server -lDrRze.iLsfxCIvu . ./.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test21
^
|
@@ -1,5 +1,6 @@
### Test $PARALLEL - single line
-4
+ 165668 165668 1048571
+ 134332 134332 940324
1
1
centos8.localdomain
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20231122+git1.tar.bz2/upstream/testsuite/wanted-results/test60
^
|
@@ -1,6 +1,6 @@
par_nonall ### Test --nonall
par_nonall centos8.localdomain
-par_nonall freebsd12.localdomain
+par_nonall freebsd13.localdomain
par_nonall_basefile ### Test --nonall --basefile
par_nonall_basefile /tmp/nonall--basefile
par_nonall_basefile /tmp/nonall--basefile
@@ -10,8 +10,8 @@
par_nonall_u ### Test --nonall -u - should be interleaved x y x y
par_nonall_u 1 centos8.localdomain
par_nonall_u 1 centos8.localdomain
-par_nonall_u 1 freebsd12.localdomain
-par_nonall_u 1 freebsd12.localdomain
+par_nonall_u 1 freebsd13.localdomain
+par_nonall_u 1 freebsd13.localdomain
par_onall ### Test --onall
par_onall 1
par_onall 2
|