*** empty log message ***
[arla.git] / tests / rename3
blob44481f2e72d9e0648e8217115be5633a10ce266e
1 #!/bin/sh
2 # $Id$
3 echo foo > foo || exit 1
4 sed 's/foo/bar/' foo > bar || exit 1
5 rm foo || exit 1
6 test -f foo && exit 1
7 mv bar foo || exit 1
8 test -f bar && exit 1
9 test -f foo || exit 1