parallel/testsuite/tests-to-run/test44.sh

11 lines
276 B
Bash

#!/bin/bash
# Test --nice
echo '### Test --nice locally'
parallel --nice 1 -vv 'PAR=a bash -c "echo \$PAR {}"' ::: b
echo '### Test --nice remote'
stdout parallel --nice 1 -S .. -vv 'PAR=a bash -c "echo \$PAR {}"' ::: b \
| perl -pe 's/\S*parallel-server\S*/one-server/'