#!/bin/sh echo hopp > foo || exit 1 if test `cat foo` != "hopp"; then exit 1; fi echo hej > foo || exit 1 if test `cat foo` != "hej"; then exit 1; fi rm foo || exit 1