X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Fcommand%2Foneway.sh;h=91a72af6a7556f5277901ca247ee68f8832cee53;hb=897a260ef7a8b954d56698cc40241a3197127505;hp=6245ec8fd28e3d7e2941efdfad5c3392a4b620c3;hpb=1195caf0c998e80d3e7195a0452a14e7b4194077;p=pspp diff --git a/tests/command/oneway.sh b/tests/command/oneway.sh index 6245ec8fd2..91a72af6a7 100755 --- a/tests/command/oneway.sh +++ b/tests/command/oneway.sh @@ -10,7 +10,8 @@ here=`pwd`; # ensure that top_srcdir is absolute cd $top_srcdir; top_srcdir=`pwd` -export STAT_CONFIG_PATH=$top_srcdir/config +STAT_CONFIG_PATH=$top_srcdir/config +export STAT_CONFIG_PATH cleanup() @@ -19,6 +20,7 @@ cleanup() echo Not cleaning $TEMPDIR; return ; fi + cd / rm -rf $TEMPDIR }