#! /bin/bash
while :; do
  mypwd=`pwd`
  if test -z "$mypwd"; then
    echo "Test failed, mypwd is empty." 
    exit 1
  fi
done

