Displaying 9 results from an estimated 9 matches for "seqres".
2010 Aug 08
2
Importing arguments for use by functions in a script
...long the lines of the following (yes, I am
new to R):
rm(list= ls())
systime1<-system.time(source("seq_imp_fct.R"))
systime2<-system.time(source("pattern_fct.R"))
systime3<-system.time(source("AAdistribution_fct.R"))
# run function
systime101<-system.time(seqres<-seq_imp_fct("testprot.txt"))
systime102<-system.time(patres<-pattern_fct(pattern="SS{1,2}",sequences=seqres))
systime103<-system.time(AAres<-AAdistribution_fct(sequences=patres))
As my list is of functions is growing, I was attempting to write a script
that wou...
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
...$0`
+echo "QA output created by $seq"
+
+here=`pwd`
+tmp=/tmp/$$
+status=1 # failure is the default!
+trap "_cleanup; exit \$status" 0 1 2 3 15
+
+_cleanup()
+{
+ umount $SCRATCH_MNT
+ rm -rf $TESTDIR1
+ rm -rf $TESTDIR2
+ btrfs subvolume delete $SUBVOL1 >> $seqres.full
+ btrfs subvolume delete $SUBVOL2 >> $seqres.full
+ cd /
+ rm -f $tmp.*
+}
+
+# get standard environment, filters and checks
+. ./common/rc
+. ./common/filter
+
+# real QA test starts here
+_supported_fs btrfs
+_supported_os Linux
+
+_require_scratch
+_require_cp_reflink
+
+_che...
2013 Nov 15
7
[PATCH 1/2] xfstests: add generic/321 to test fsync() on directories V2
...uot; 0 1 2 3 15
# get standard environment, filters and checks
. ./common/rc
. ./common/filter
+. ./common/dmflakey
# real QA test starts here
_supported_fs generic
@@ -63,49 +60,12 @@ _require_dm_flakey
[ -x $here/src/fsync-tester ] || _notrun "fsync-tester not build"
rm -f $seqres.full
-BLK_DEV_SIZE=`blockdev --getsz $SCRATCH_DEV`
-FLAKEY_DEV=/dev/mapper/flakey-test
SEED=1
testfile=$SCRATCH_MNT/$seq.fsync
-FLAKEY_TABLE="0 $BLK_DEV_SIZE flakey $SCRATCH_DEV 0 180 0"
-FLAKEY_TABLE_DROP="0 $BLK_DEV_SIZE flakey $SCRATCH_DEV 0 0 180 1 drop_writes"
-_TEST_OPTI...
2013 Jul 02
6
[PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
...$0`
+echo "QA output created by $seq"
+
+here=`pwd`
+tmp=/tmp/$$
+status=1 # failure is the default!
+trap "_cleanup; exit \$status" 0 1 2 3 15
+
+_cleanup()
+{
+ umount $SCRATCH_MNT
+ rm -rf $TESTDIR1
+ rm -rf $TESTDIR2
+ btrfs subvolume delete $SUBVOL1 >> $seqres.full
+ btrfs subvolume delete $SUBVOL2 >> $seqres.full
+ cd /
+ rm -f $tmp.*
+}
+
+# get standard environment, filters and checks
+. ./common/rc
+. ./common/filter
+
+# real QA test starts here
+_supported_fs btrfs
+_supported_os Linux
+
+_require_scratch
+_require_cp_reflink
+
+_che...
2013 Oct 28
0
[PATCH] xfstests: add generic/320 to test fsync() on directories V2
...uot; 0 1 2 3 15
# get standard environment, filters and checks
. ./common/rc
. ./common/filter
+. ./common/dmflakey
# real QA test starts here
_supported_fs generic
@@ -63,49 +60,12 @@ _require_dm_flakey
[ -x $here/src/fsync-tester ] || _notrun "fsync-tester not build"
rm -f $seqres.full
-BLK_DEV_SIZE=`blockdev --getsz $SCRATCH_DEV`
-FLAKEY_DEV=/dev/mapper/flakey-test
SEED=1
testfile=$SCRATCH_MNT/$seq.fsync
-FLAKEY_TABLE="0 $BLK_DEV_SIZE flakey $SCRATCH_DEV 0 180 0"
-FLAKEY_TABLE_DROP="0 $BLK_DEV_SIZE flakey $SCRATCH_DEV 0 0 180 1 drop_writes"
-_TEST_OPTI...
2023 Apr 21
1
[PATCH] ocfs2: fix missing reset j_num_trans for sync
..._scratch
54 md5sum $testdir/file2 | _filter_scratch
55
56 echo "CoW and unmount"
57 sync
58 _dmerror_load_error_table
59 urk=$($XFS_IO_PROG -f -c "pwrite -S 0x63 -b $bufsize 0 $filesize" \
60 -c "fdatasync" $testdir/file2 2>&1)
61 echo $urk >> $seqres.full
62 echo "$urk" | grep -q "error" || _fail "pwrite did not fail"
63
64 echo "Clean up the mess"
65 _dmerror_unmount
```
After line 49 50 umount & mount ocfs2 dev, this case run md5sum to
verify target file. line 57 run 'sync' before line...
2023 Apr 22
1
[PATCH] ocfs2: fix missing reset j_num_trans for sync
...er_scratch
> 55
> 56 echo "CoW and unmount"
> 57 sync
> 58 _dmerror_load_error_table
> 59 urk=$($XFS_IO_PROG -f -c "pwrite -S 0x63 -b $bufsize 0 $filesize" \
> 60 -c "fdatasync" $testdir/file2 2>&1)
> 61 echo $urk >> $seqres.full
> 62 echo "$urk" | grep -q "error" || _fail "pwrite did not fail"
> 63
> 64 echo "Clean up the mess"
> 65 _dmerror_unmount
> ```
>
> After line 49 50 umount & mount ocfs2 dev, this case run md5sum to
> verify target f...
2013 May 20
1
[PATCH] xfstests: btrfs 308: regression test for btrfs send
...uld have received a copy of the GNU General Public License
+# along with this program; if not, write the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+#-----------------------------------------------------------------------
+#
+
+seq=`basename $0`
+seqres=$RESULT_DIR/$seq
+echo "QA output created by $seq"
+
+here=`pwd`
+tmp=/tmp/$$
+status=1 # failure is the default!
+
+_cleanup()
+{
+ rm -f $tmp.*
+}
+
+trap "_cleanup ; exit \$status" 0 1 2 3 15
+
+# get standard environment, filters and checks
+. ./common/rc
+. ./common/filt...
2023 Apr 30
2
[PATCH 1/2] ocfs2: fix missing reset j_num_trans for sync
..._scratch
54 md5sum $testdir/file2 | _filter_scratch
55
56 echo "CoW and unmount"
57 sync
58 _dmerror_load_error_table
59 urk=$($XFS_IO_PROG -f -c "pwrite -S 0x63 -b $bufsize 0 $filesize" \
60 -c "fdatasync" $testdir/file2 2>&1)
61 echo $urk >> $seqres.full
62 echo "$urk" | grep -q "error" || _fail "pwrite did not fail"
63
64 echo "Clean up the mess"
65 _dmerror_unmount
```
After line 49 50 umount & mount ocfs2 dev, this case run md5sum to
verify target file. Line 57 run 'sync' before line...