Searched refs:testfile (Results 1 - 25 of 183) sorted by relevance

12345678

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Denv008.tcl20 set testfile $subdir/env.db
29 env008_db $env $testfile
30 error_check_good dbremove:$testfile \
31 [berkdb dbremove -env $env $testfile] 0
39 env008_db $env $testfile
41 error_check_good dbrename:$testfile/.. \
42 [berkdb dbrename -env $env $testfile $newfile] 0
43 set testfile $newfile
47 error_check_good dbrename:$testfile/.. \
48 [berkdb dbrename -env $env $testfile
[all...]
H A Dsdb006.tcl35 # If we are using an env, then testfile should just be the db name.
38 set testfile $testdir/subdb006.db
41 set testfile subdb006.db
79 build_all_subdb $testfile [list $method] $psize \
86 set db [eval {berkdb_open} $oflags $oargs $testfile primary.db]
104 do_join_subdb $testfile primary.db "1 0" $str $oargs
106 do_join_subdb $testfile primary.db "2 0" $str $oargs
108 do_join_subdb $testfile primary.db "3 0" $str $oargs
110 do_join_subdb $testfile primary.db "4 0" $str $oargs
112 do_join_subdb $testfile primar
[all...]
H A Dsdb018.tcl48 set testfile ""
73 build_all_subdb $testfile [list $method] $psize \
80 set db [eval {berkdb_open} $oflags $oargs {$testfile} primary.db]
90 do_join_subdb $testfile primary.db "1 0" $str $oargs
92 do_join_subdb $testfile primary.db "2 0" $str $oargs
94 do_join_subdb $testfile primary.db "3 0" $str $oargs
96 do_join_subdb $testfile primary.db "4 0" $str $oargs
98 do_join_subdb $testfile primary.db "1" $str $oargs
100 do_join_subdb $testfile primary.db "2" $str $oargs
102 do_join_subdb $testfile primar
[all...]
H A Dfop002.tcl24 set testfile $testdir/a.db
28 {berkdb_open -create} $omethod $args -mode $perms $testfile]
35 set res [exec chmod 0000 $testfile]
47 test_$op $testfile $omethod $args $rdonly 1
50 test_$op $testfile $destfile 1
53 test_$op $testfile $omethod $args 1
56 test_$op $testfile 1
65 set res [exec chmod 0444 $testfile]
72 test_$op $testfile $omethod $args $rdonly 0
75 test_$op $testfile
[all...]
H A Denv006.tcl52 set testfile env006.db
56 set testfile $testdir/env006.db
60 set db [eval berkdb_open -create $envargs -btree $testfile]
65 exec $util_path/db_load -r lsn $homeargs $testfile]
68 exec $util_path/db_load -r fileid $homeargs $testfile]
72 [eval {berkdb dbremove} $envargs $testfile] 0
75 set db [eval berkdb_open -create $envargs -btree $testfile $sub]
80 exec {$util_path/db_load} -r lsn $homeargs $testfile]
83 exec {$util_path/db_load} -r fileid $homeargs $testfile]
87 db_remove [eval {berkdb dbremove} $envargs $testfile]
[all...]
H A Drecd018.tcl42 set testfile $tname.$i
43 set db($i) [eval {berkdb_open} $oflags $testfile]
45 set file $testdir/$testfile.init
46 catch { file copy -force $testdir/$testfile $file} res
47 copy_extent_file $testdir $testfile init
56 set testfile $tname.$i
75 set file $testdir/$testfile.afterop
76 catch { file copy -force $testdir/$testfile $file} res
77 copy_extent_file $testdir $testfile afterop
89 set testfile
[all...]
H A Drecd019.tcl24 set testfile recd019.db
45 -env $dbenv $opts $testfile"
57 error_check_good dbremove [berkdb dbremove -env $dbenv $testfile] 0
65 -env $dbenv -auto_commit $opts $testfile"
74 set file $testdir/$testfile.init
75 catch { file copy -force $testdir/$testfile $file} res
76 copy_extent_file $testdir $testfile init
90 set file $testdir/$testfile.afterop
91 catch { file copy -force $testdir/$testfile $file} res
92 copy_extent_file $testdir $testfile aftero
[all...]
H A Dtest064.tcl22 # If we are using an env, then testfile should just be the db name.
25 set testfile $testdir/test$tnum.db
28 set testfile test$tnum.db
44 $omethod $args $testfile]
51 set db [eval {berkdb_open} $omethod $args {$testfile}]
61 set db [eval {berkdb_open} $args $testfile]
H A Dsdb009.tcl27 # If we are using an env, then testfile should just be the db name.
30 set testfile $testdir/subdb009.db
33 set testfile subdb009.db
49 error_check_bad "$testfile exists" [file exists $testfile] 1
54 $omethod $args {$testfile $oldsdb}]
76 {$testfile $oldsdb $newsdb}] 0
82 $omethod $args $testfile $oldsdb]
88 $omethod $args $testfile $newsdb]
101 set ret [catch {eval {berkdb dbrename} $envargs $testfile \
[all...]
H A Dsdb020.tcl58 set testfile ""
63 $args -env $env {$omethod $testfile $name}]
81 -pagesize $psize2 {$omethod $testfile $name}]} res
87 -pagesize $psize {$omethod $testfile $name}]
94 $args -env $env -pagesize $psize {$omethod $testfile $name}]
103 -pagesize $psize2 {$omethod $testfile $name}]} res
109 -pagesize $psize {$omethod $testfile $name}]
116 -pagesize $psize2 {$omethod $testfile $newname}]
H A Dtest060.tcl24 # If we are using an env, then testfile should just be the db name.
27 set testfile $testdir/test060.db
30 set testfile test060.db
44 -create -excl -mode 0644} $args {$omethod $testfile}]
55 -create -excl -mode 0644} $args {$omethod $testfile}]
H A Dtxn006.tcl11 set testfile txn006.db
23 -create -btree -dup $testfile]
43 exec $util_path/db_dump -p -h $testdir $testfile | \
44 $util_path/db_load -h $testdir $testfile
H A Dsdb007.tcl44 # If we are using an env, then testfile should just be the db name.
47 set testfile $testdir/subdb007.db
50 set testfile subdb007.db
69 $args $envargs {$omethod $testfile $sub1}]
85 $db2args $envargs {-pagesize $psize $testfile $sub2}]
92 set ret [eval {berkdb dbremove} $envargs {$testfile}]
96 $args $envargs {-pagesize $psize $omethod $testfile $sub1}]
103 $envargs {-pagesize $newpsize $omethod $testfile $sub2}]
H A Dmemp004.tcl22 set testfile memp004.db
28 set db [berkdb_open -env $dbenv -create -mode 0644 -btree $testfile]
29 error_check_good dbopen/$testfile/RW [is_valid_db $db] TRUE
52 set db [berkdb_open -env $dbenv -rdonly $testfile]
53 error_check_good dbopen/$testfile/RO [is_substr $db db] 1
H A Dplat001.tcl30 set testfile $testdir/plat$tnum.db
34 set testfile plat$tnum.db
52 set db [eval {berkdb_open -create -mode 0644} $args $omethod $testfile]
67 $testfile} ret]
71 error_check_good db_delete [fileremove $testfile] ""
H A Dsdb001.tcl29 set testfile $testdir/subdb001.db
48 $args {$omethod $testfile}]
81 {$omethod $testfile $subdb}} db]
87 set testfile $testdir/subdb001a.db
96 {$omethod $testfile}]
101 {$omethod $testfile $subdb}} db]
135 set testfile $testdir/subdb001d.db
138 {$omethod $testfile $subdb}} db]
141 $args {$omethod $testfile $subdb}} db1]
H A Denv012.tcl49 set testfile TESTFILE
56 $testdir $testfile PUT $key $data RECOVER 10 &]
64 $testdir $testfile GET $key $data 0 0 &]
81 $testdir $testfile PUT $key $data RECOVER 10 &]
94 $testdir $testfile GET $key $data RECOVER 0 &]
113 $testdir $testfile PUT $key $data RECOVER 10 &]
126 $testdir $testfile GET $key $data 0 0 &]
142 $testdir $testfile PUT $key $data RECOVER 10 &]
152 $testdir $testfile LOOP $key $data 0 10 &]
162 $testdir $testfile GE
[all...]
H A Drecd023.tcl24 set testfile recd$tnum.db
36 set db [eval {berkdb_open} -env $env $oflags $testfile]
54 file copy -force $testdir/$testfile $testdir/$testfile.save
72 file copy -force $testdir/$testfile.save $testdir/$testfile
H A Dsdb017.tcl51 set testfile ""
53 $omethod -env $env $args {$testfile $oldsdb}]
66 {$testfile $oldsdb $newsdb}] 0
72 $omethod -env $env $args {$testfile $oldsdb}]
78 $omethod -env $env $args {$testfile $newsdb}]
93 {$testfile $oldsdb $newsdb}} res]
H A Denv013.tcl18 set testfile A.db
34 -btree -create -mode 0644 $testfile $filename} ]
50 file copy -force $testdir/$testfile $testdir/$dupfile
55 set orig_id [getfileid $testdir/$testfile]
H A Denv015.tcl26 set testfile { "" file1.db }
28 set testfile file1.db
30 set db [eval {berkdb_open} -create -env $env -btree $testfile]
58 {berkdb_open} -env $env -btree $testdir/$testfile]} db2
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/expat-2.0.1/conftools/
H A DPrintPath73 testfile="pp.t.$$"
75 cat > $testfile <<ENDTEST
83 if `/bin/sh $testfile 2>/dev/null`; then
88 rm -f $testfile
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/expat/conftools/
H A DPrintPath73 testfile="pp.t.$$"
75 cat > $testfile <<ENDTEST
83 if `/bin/sh $testfile 2>/dev/null`; then
88 rm -f $testfile
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/expat-2.0.1/conftools/
H A DPrintPath73 testfile="pp.t.$$"
75 cat > $testfile <<ENDTEST
83 if `/bin/sh $testfile 2>/dev/null`; then
88 rm -f $testfile
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/test/
H A Dvnode.c21 static char __thread testfile[1024]; variable
30 if ((fd = open(testfile, O_CREAT | O_WRONLY, 0600)) < 0)
40 snprintf(&buf[0], sizeof(buf), "touch %s", testfile);
50 snprintf(&buf[0], sizeof(buf), "echo hi >> %s", testfile);
60 snprintf(&buf[0], sizeof(buf), "%s.tmp", testfile);
67 if (rename(testfile,buf) != 0)
70 if (rename(buf, testfile) != 0)
82 vnode_fd = open(testfile, O_RDWR);
84 err(1, "open of %s", testfile);
97 if (unlink(testfile) <
[all...]

Completed in 73 milliseconds

12345678