Skip to content

Commit

Permalink
Testcase for Bug 2145
Browse files Browse the repository at this point in the history
Signed-off-by: Vijay Bellur <[email protected]>
  • Loading branch information
Rahul authored and vbellur committed Mar 21, 2011
1 parent 55d19cf commit 8d97979
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dvm/2145/testcase
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

source ./regression_helpers

VOLNAME="vol$global_bug_id";

$GLUSTERFSDIR/gluster volume create $VOLNAME $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster volume start $VOLNAME 2>/dev/null 1>/dev/null;

mount_glusterfs $VOLNAME;

mknod -m 0666 $FUSE_MOUNT/testblock b 13 42 2>/dev/null 1>/dev/null;

ls -l $FUSE_MOUNT/testblock | grep "13, 42" 2>/dev/null 1>/dev/null;

exit $?;

0 comments on commit 8d97979

Please sign in to comment.