##// END OF EJS Templates
test: fix for compatibilty with true Bourne /bin/sh...
test: fix for compatibilty with true Bourne /bin/sh 'export foo=bar' is an extension, replaced with 'foo=bar; export foo'

File last commit:

r8809:6fce3633 default
r9040:4743d1a6 default
Show More
test-gpg
28 lines | 322 B | text/plain | TextLexer
#!/bin/sh
"$TESTDIR/hghave" gpg || exit 80
cat <<EOF >> $HGRCPATH
[extensions]
gpg=
[gpg]
cmd=gpg --no-permission-warning --homedir $TESTDIR/gpg
EOF
hg init r
cd r
echo foo > foo
hg ci -Amfoo
echo '% no signatures'
hg sigs
echo '% hg sign 0'
hg sign 0
echo '% hg sigs'
hg sigs
echo '% hg sigcheck 0'
hg sigcheck 0