3
rm -f key1 key1.pub key2 key2.pub
4
LD_PRELOAD="$(pwd)/getpid.so" FORCE_PID=1234 \
5
../../build-deb/ssh-keygen -N '' -f key1 >/dev/null
6
LD_PRELOAD="$(pwd)/getpid.so" FORCE_PID=1234 \
7
../../build-deb/ssh-keygen -N '' -f key2 >/dev/null
8
if cmp -s key1 key2; then
9
echo "Generated two identical keys!" >&2