#!/bin/sh

#set -x
rm -f echo

test2 nopathnoext
test2 nopathext
test2 pathnoext
test2 pathext

touch echo

test2 nopathnoext
test2 nopathext
test2 pathnoext
test2 pathext

echo "garbage" > echo

test2 nopathnoext
test2 nopathext
test2 pathnoext
test2 pathext

