-i is now optional for encryption if recipient specified, -R exchanged with -r, added virtual env for manual tests in tests/env/

This commit is contained in:
TLINDEN
2013-11-03 14:39:16 +01:00
parent bf5556e1ec
commit 79068fce66
29 changed files with 944 additions and 1515 deletions

24
tests/env/vsh vendored Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
# simple virtual env to do manual tests of pcp
# using different users.
user=$1
if test -z "$user"; then
echo "usage: $0 <user>"
exit
fi
user=`echo "$user" | sed 's/\///g'`
if ! test -d "$user"; then
echo "there's no directory for $user"
exit
fi
cur=`pwd`
home="$cur/$user"
exec env PCP="$cur/../../src/pcp1" USER=$user HOME=$home bash --rcfile "$cur/bashrc"