Changes between Version 25 and Version 26 of ValidationSimple
- Timestamp:
- Oct 23, 2014, 2:30:52 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValidationSimple
v25 v26 144 144 For applications that don't use replication, the compare script need not be given. 145 145 146 As an example, the following PHP script, used as a compare script, 147 would require that results match exactly: 148 {{{ 149 #!/usr/bin/env php 150 <?php 151 152 $f1 = $argv[1]; 153 $f2 = $argv[2]; 154 if (md5_file($f1) != md5_file($f2)) { 155 fwrite(STDERR, "$f1 and $f2 don't match\n"); 156 exit(1); 157 } 158 159 ?> 160 }}} 161 146 162 == Testing your validator == 147 163