#!/bin/sh -e
#
# Test if /bin/sh is dash or bash

current=`ls -l /bin/sh | rev | cut -d" " -f1-3 | rev`

if [ "/bin/sh -> dash" = "$current" ] ; then
	echo "success: $0: /bin/sh is dash"
else
	echo "error: $0: incorrect link: $current"
fi
