agent.sh (0eef944a) agent.sh (25a4fdfe)
1# $OpenBSD: agent.sh,v 1.4 2002/02/16 01:09:47 markus Exp $
2# Placed in the Public Domain.
3
1tid="simple agent test"
2
3SSH_AUTH_SOCK=/nonexistant ssh-add -l > /dev/null 2>&1
4if [ $? -ne 2 ]; then
5 fail "ssh-add -l did not fail with exit code 2"
6fi
7
8trace "start agent"

--- 51 unchanged lines hidden ---
4tid="simple agent test"
5
6SSH_AUTH_SOCK=/nonexistant ssh-add -l > /dev/null 2>&1
7if [ $? -ne 2 ]; then
8 fail "ssh-add -l did not fail with exit code 2"
9fi
10
11trace "start agent"

--- 51 unchanged lines hidden ---