mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
testsuite: Polarhome added.
This commit is contained in:
parent
23636ee688
commit
0706a95802
|
@ -214,6 +214,9 @@ New in this release:
|
|||
* GNU parallel is used throughout Scrimer
|
||||
http://scrimer.readthedocs.org/en/latest/
|
||||
|
||||
* GNU Parallel helped making public documents searchable.
|
||||
http://danpalmer.me/blog/articles/2013-04-06-unlocking-hillsborough.html
|
||||
|
||||
* Identifying big movie files (German).
|
||||
http://blackappsolutions.wordpress.com/2013/03/23/wenn-der-plattenplatz-knapp-wird-filme-identifizieren-die-viel-platz-belegen/
|
||||
|
||||
|
|
|
@ -646,7 +646,7 @@ sub get_options_from_array {
|
|||
sub parse_options {
|
||||
# Returns: N/A
|
||||
# Defaults:
|
||||
$Global::version = 20130307;
|
||||
$Global::version = 20130408;
|
||||
$Global::progname = 'parallel';
|
||||
$Global::infinity = 2**31;
|
||||
$Global::debug = 0;
|
||||
|
|
17
testsuite/tests-to-run/parallel-polarhome.sh
Normal file
17
testsuite/tests-to-run/parallel-polarhome.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
P="scosysv centos dragonfly netbsd freebsd solaris openbsd debian aix hpux redhat qnx irix suse minix openindiana mandriva unixware miros raspberrypi hurd ultrix ubuntu"
|
||||
P="scosysv centos dragonfly netbsd freebsd solaris openbsd debian aix hpux qnx irix suse minix openindiana mandriva unixware miros raspberrypi hurd ultrix ubuntu"
|
||||
#P="scosysv hpux qnx irix openindiana ultrix"
|
||||
POLAR=`parallel echo {}.polarhome.com ::: $P`
|
||||
|
||||
echo '### Tests on polarhome machines'
|
||||
parallel -j0 ssh {} mkdir -p bin ::: $POLAR 2>/dev/null &
|
||||
# scp to each polarhome machine do not work. From redhat it works.
|
||||
rsync -a `which parallel` redhat.polarhome.com:bin/
|
||||
ssh redhat.polarhome.com \
|
||||
chmod 755 bin/parallel\; \
|
||||
bin/parallel -j0 ssh {} rm -f bin/parallel\\\;scp bin/parallel {}:bin/ ::: $POLAR
|
||||
# Now test
|
||||
parallel --argsep // -k --tag ssh {} bin/parallel echo Works on ::: {} // $POLAR
|
||||
|
|
@ -7,6 +7,7 @@ SSHLOGIN2=parallel@$SERVER2
|
|||
|
||||
# Minimal version of test17
|
||||
|
||||
export PARALLEL=-j8
|
||||
# Make sure sort order is the same
|
||||
export LANG=C
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ echo '### Test --nonall';
|
|||
parallel --nonall -k -S $SSHLOGIN1,$SSHLOGIN2 'hostname' | sort
|
||||
|
||||
echo '### Test --nonall -u - should be interleaved x y x y';
|
||||
parallel --nonall -S $SSHLOGIN1,$SSHLOGIN2 -u 'hostname|grep -q redhat9 && sleep 3; hostname;sleep 6;hostname;'
|
||||
parallel --nonall -S $SSHLOGIN1,$SSHLOGIN2 -u 'hostname|grep -q redhat9 && sleep 3; hostname;sleep 8;hostname;'
|
||||
|
||||
echo '### Test read sshloginfile from STDIN';
|
||||
echo $SSHLOGIN1 | parallel -S - --nonall hostname;
|
||||
|
|
19
testsuite/wanted-results/parallel-polarhome
Normal file
19
testsuite/wanted-results/parallel-polarhome
Normal file
|
@ -0,0 +1,19 @@
|
|||
### Tests on polarhome machines
|
||||
scosysv.polarhome.com Works on scosysv.polarhome.com
|
||||
centos.polarhome.com Works on centos.polarhome.com
|
||||
dragonfly.polarhome.com Works on dragonfly.polarhome.com
|
||||
netbsd.polarhome.com Works on netbsd.polarhome.com
|
||||
freebsd.polarhome.com Works on freebsd.polarhome.com
|
||||
solaris.polarhome.com Works on solaris.polarhome.com
|
||||
openbsd.polarhome.com Works on openbsd.polarhome.com
|
||||
debian.polarhome.com Works on debian.polarhome.com
|
||||
aix.polarhome.com Works on aix.polarhome.com
|
||||
suse.polarhome.com Works on suse.polarhome.com
|
||||
minix.polarhome.com Works on minix.polarhome.com
|
||||
openindiana.polarhome.com Works on openindiana.polarhome.com
|
||||
mandriva.polarhome.com Works on mandriva.polarhome.com
|
||||
unixware.polarhome.com Works on unixware.polarhome.com
|
||||
miros.polarhome.com Works on miros.polarhome.com
|
||||
raspberrypi.polarhome.com Works on raspberrypi.polarhome.com
|
||||
hurd.polarhome.com Works on hurd.polarhome.com
|
||||
ubuntu.polarhome.com Works on ubuntu.polarhome.com
|
Loading…
Reference in a new issue