Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
ae4b42fd
Commit
ae4b42fd
authored
Aug 28, 2002
by
Niels Möller
Browse files
Use the construction ": ${var:=default}".
Rev: src/testsuite/functions.sh:1.22
parent
63194cbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/testsuite/functions.sh
View file @
ae4b42fd
...
...
@@ -5,55 +5,20 @@ set -e
# echo srcdir = $srcdir
if
[
-z
"
$TEST_HOME
"
]
;
then
TEST_HOME
=
"
`
pwd
`
/home"
fi
if
[
-z
"
$LSH_YARROW_SEED_FILE
"
]
;
then
LSH_YARROW_SEED_FILE
=
"
$TEST_HOME
/.lsh/yarrow-seed-file"
fi
:
${
TEST_HOME
:
=
`
pwd
`
/home
}
:
${
LSH_YARROW_SEED_FILE
:
=
"
$TEST_HOME
/.lsh/yarrow-seed-file"
}
# For lsh-authorize
if
[
-z
"SEXP_CONV"
]
;
then
SEXP_CONV
=
"
`
pwd
`
/../sexp-conv"
fi
:
${
SEXP_CONV
:
=
"
`
pwd
`
/../sexp-conv"
}
export
LSH_YARROW_SEED_FILE SEXP_CONV
## # Make sure we have a randomness genereetor
## LSH_YARROW_SEED_FILE="`pwd`/yarrow-seed-file"
## export LSH_YARROW_SEED_FILE
##
## if [ -s "$LSH_YARROW_SEED_FILE" ] ; then : ; else
## echo "Creating seed file $LSH_YARROW_SEED_FILE"
## ../lsh-make-seed --sloppy -q -o "$LSH_YARROW_SEED_FILE"
## fi
if
[
-z
"
$LSHD_FLAGS
"
]
;
then
LSHD_FLAGS
=
'-q --enable-core'
fi
if
[
-z
"
$LSH_FLAGS
"
]
;
then
LSH_FLAGS
=
-q
fi
if
[
-z
"
$LSHG_FLAGS
"
]
;
then
LSHG_FLAGS
=
-q
fi
if
[
-z
"
$HOSTKEY
"
]
;
then
HOSTKEY
=
$srcdir
/key-1.private
fi
if
[
-z
"
$PIDFILE
"
]
;
then
PIDFILE
=
`
pwd
`
/lshd.
$$
.pid
fi
INTERFACE
=
127.0.0.1
# if [ -z "$USERKEY" ] ; then
# USERKEY=$srcdir/key-1.private
# fi
:
${
LSHD_FLAGS
:
=-q --enable-core
}
:
${
LSH_FLAGS
:
=-q
}
:
${
LSHG_FLAGS
:
=-q
}
:
${
HOSTKEY
:
=
"
$srcdir
/key-1.private"
}
:
${
PIDFILE
:
=
"
`
pwd
`
/lshd.
$$
.pid"
}
:
${
INTERFACE
:
=127.0.0.1
}
PORT
=
11147
ATEXIT
=
'set +e'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment