/usr/src/openswan-2.6.38/packaging/utils/wanttest is in openswan-modules-dkms 1:2.6.38-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #! /bin/sh
if [ -f ~build/WANTSNAP/doingtest ]
then
echo Test already in progress.
exit 1
fi
umask 002
id -un >>~build/WANTSNAP/dotest
|