Whamcloud - gitweb
Move version back to its original location, and put flags at the end.
[fs/lustre-release.git] / lustre / tests / ostreq.sh
index d84bc43..2d600ca 100644 (file)
@@ -1,10 +1,11 @@
 #!/bin/sh
 
-SRCDIR="`dirname $0`"
+SRCDIR="`dirname $0`/"
 . $SRCDIR/common.sh
 
 SERVER=localhost
-PORT=1234
+PORT=988
+TMP=${TMP:-/tmp}
 
 $ACCEPTOR $PORT
 
@@ -12,14 +13,14 @@ $PTLCTL <<EOF
 mynid localhost
 setup tcp
 connect $SERVER $PORT
+add_uuid $SERVER
 add_uuid self
-add_uuid ost
 quit
 EOF
 
 setup_lustre
 
-tmp_fs ext2 /tmp/fs 10000
+tmp_fs ext2 $TMP/fs 10000
 OBD=${LOOPDEV}
 
 $OBDCTL <<EOF