tests: Add support for 1-argument 'seq' in emulation.
The testsuite has an emulation of the common utility 'seq' that only
supported 2- and 3-argument forms.  This commit adds support for the
1-argument form.
Acked-by: Russell Bryant
@@ -57,6 +57,9 @@ ovs_wait () {
# Prints the integers from $1 to $2, increasing by $3 (default 1) on stdout.
seq () {
+ if test $# = 1; then
+ set 1 $1
+ fi
while test $1 -le $2; do
echo $1
set `expr $1 + ${3-1}` $2 $3
