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

15 lines
650 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2012-12-28 10:46:35 +00:00
echo "### test global config - must run alone so the global config does not confuse others"
echo "### test --tollef in global config"
2012-12-28 10:46:35 +00:00
echo /etc/parallel/config | sudo parallel "mkdir -p /etc/parallel; echo --tollef > "
stdout parallel -k echo -- 1 2 3 ::: a b c
stdout parallel -k --gnu echo ::: 1 2 3 -- a b c
echo "### test --gnu in global config"
2012-12-28 10:46:35 +00:00
echo --gnu > ~/.parallel/config
2014-06-23 00:04:37 +00:00
stdout parallel -k echo ::: 1 2 3 -- a b c
stdout parallel -k --gnu echo ::: 1 2 3 -- a b c
2012-12-28 10:46:35 +00:00
sudo rm /etc/parallel/config
rm ~/.parallel/config
echo "<<< End test global config - must run alone so the global config does not confuse others"