diff options
Diffstat (limited to 'Geo-rep-scripts/node_fop_symlink_file_unlink.sh')
-rw-r--r-- | Geo-rep-scripts/node_fop_symlink_file_unlink.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Geo-rep-scripts/node_fop_symlink_file_unlink.sh b/Geo-rep-scripts/node_fop_symlink_file_unlink.sh new file mode 100644 index 0000000..9ee0d1c --- /dev/null +++ b/Geo-rep-scripts/node_fop_symlink_file_unlink.sh @@ -0,0 +1,13 @@ +source ./config +fop="symlink (for file) unlink test" +rm -rf $MNT_PT/* +mkdir $MNT_PT/d1/d2/d3/d4/d5/ -p +echo "file contents goes here" > $MNT_PT/d1/d2/d3/d4/d5/file.txt +ln -s $MNT_PT/d1/d2/d3/d4/d5/file.txt $MNT_PT/d1/d2/d3/d4/d5/sln.txt +echo "Before $fop" +show_backend +$XTIME_PATH/xtime.rb $MNT_PT_NEG_PID +echo "AFTER $fop" +rm -rf $MNT_PT/d1/d2/d3/d4/d5/sln.txt +$XTIME_PATH/xtime.rb $MNT_PT_NEG_PID +show_backend |