Whamcloud - gitweb
demos/*: update demos to handle module autoloading (Steve Bruggeman)
[fs/lustre-release.git] / lustre / demos / snaptest.sh
index 8e2e762..bd0a4ea 100755 (executable)
@@ -2,11 +2,11 @@
 # Utility script to perform minor modifications to the read-write mounted
 # snapshot in order to demonstrate the changes w.r.t. the read-only snapshot
 OBDDIR="`dirname $0`/.."
-[ "$OBDDIR" = "" ] && OBDDIR=".."
 . $OBDDIR/demos/config.sh
 
 plog chmod 777 $MNTOBD                 # change attributes on an existing file
 plog rm $MNTOBD/a                      # delete an existing file
-plog echo "today" >> $MNTOBD/hello     # modify an existing file
+echo "echo today >> $MNTOBD/hello"     # modify an existing file
+echo today >> $MNTOBD/hello
 plog cp /etc/group $MNTOBD             # create a new file
 plog ln -s goodbye $MNTOBD/newlink     # create a new symlink