testsuite: Polarhome added.

This commit is contained in:
Ole Tange 2013-04-08 21:17:59 +02:00
parent 23636ee688
commit 0706a95802
8 changed files with 47 additions and 7 deletions

View file

@ -214,6 +214,9 @@ New in this release:
* GNU parallel is used throughout Scrimer * GNU parallel is used throughout Scrimer
http://scrimer.readthedocs.org/en/latest/ 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). * Identifying big movie files (German).
http://blackappsolutions.wordpress.com/2013/03/23/wenn-der-plattenplatz-knapp-wird-filme-identifizieren-die-viel-platz-belegen/ http://blackappsolutions.wordpress.com/2013/03/23/wenn-der-plattenplatz-knapp-wird-filme-identifizieren-die-viel-platz-belegen/

View file

@ -646,7 +646,7 @@ sub get_options_from_array {
sub parse_options { sub parse_options {
# Returns: N/A # Returns: N/A
# Defaults: # Defaults:
$Global::version = 20130307; $Global::version = 20130408;
$Global::progname = 'parallel'; $Global::progname = 'parallel';
$Global::infinity = 2**31; $Global::infinity = 2**31;
$Global::debug = 0; $Global::debug = 0;

View 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

View file

@ -7,6 +7,7 @@ SSHLOGIN2=parallel@$SERVER2
# Minimal version of test17 # Minimal version of test17
export PARALLEL=-j8
# Make sure sort order is the same # Make sure sort order is the same
export LANG=C export LANG=C

View file

@ -20,7 +20,7 @@ echo '### Test --nonall';
parallel --nonall -k -S $SSHLOGIN1,$SSHLOGIN2 'hostname' | sort parallel --nonall -k -S $SSHLOGIN1,$SSHLOGIN2 'hostname' | sort
echo '### Test --nonall -u - should be interleaved x y x y'; 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 '### Test read sshloginfile from STDIN';
echo $SSHLOGIN1 | parallel -S - --nonall hostname; echo $SSHLOGIN1 | parallel -S - --nonall hostname;

View 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