Lines Matching refs:file

2 Test copy() function: usage variations - destination file names(numerics/strings)
6 Description: Makes a copy of the file source to dest.
10 /* Test copy() function: In creation of destination file names containing numerics/strings
14 echo "*** Test copy() function: destination file names containing numerics/strings ***\n";
21 /* array of destination file names */
25 "copy.tmp", //regular file name
27 ".tmp", //file name only with extension
28 "123.tmp", //file name starts with numeric and with regular extension
29 "copy_variation1.123", //file name with numeric extension
31 "123copy_variation1.tmp", //file name containing numeric & string
32 "copy_variation.tmp123", //file name containing string & numeric
33 chr(99).chr(111).chr(112).chr(121).chr(49).".tmp" //file name containing ASCII values
36 echo "Size of the source file before copy operation => ";
40 echo "\n-- Now applying copy() on source file to create copies --";
50 echo "Existence of destination file => ";
53 echo "Destination file name => ";
57 echo "Size of source file => ";
61 echo "Size of destination file => ";
79 *** Test copy() function: destination file names containing numerics/strings ***
80 Size of the source file before copy operation => int(1500)
82 -- Now applying copy() on source file to create copies --
85 Existence of destination file => bool(true)
86 Destination file name => %s/copy.tmp
87 Size of source file => int(1500)
88 Size of destination file => int(1500)
92 Existence of destination file => bool(true)
93 Destination file name => %s/copy_copy_variation1.tmp
94 Size of source file => int(1500)
95 Size of destination file => int(1500)
99 Existence of destination file => bool(true)
100 Destination file name => %s/.tmp
101 Size of source file => int(1500)
102 Size of destination file => int(1500)
106 Existence of destination file => bool(true)
107 Destination file name => %s/123.tmp
108 Size of source file => int(1500)
109 Size of destination file => int(1500)
113 Existence of destination file => bool(true)
114 Destination file name => %s/copy_variation1.123
115 Size of source file => int(1500)
116 Size of destination file => int(1500)
120 Existence of destination file => bool(true)
121 Destination file name => %s/123
122 Size of source file => int(1500)
123 Size of destination file => int(1500)
127 Existence of destination file => bool(true)
128 Destination file name => %s/123copy_variation1.tmp
129 Size of source file => int(1500)
130 Size of destination file => int(1500)
134 Existence of destination file => bool(true)
135 Destination file name => %s/copy_variation.tmp123
136 Size of source file => int(1500)
137 Size of destination file => int(1500)
141 Existence of destination file => bool(true)
142 Destination file name => %s/copy1.tmp
143 Size of source file => int(1500)
144 Size of destination file => int(1500)