Changes between Version 25 and Version 26 of ValidationSimple


Ignore:
Timestamp:
Oct 23, 2014, 2:30:52 PM (9 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ValidationSimple

    v25 v26  
    144144For applications that don't use replication, the compare script need not be given.
    145145
     146As an example, the following PHP script, used as a compare script,
     147would require that results match exactly:
     148{{{
     149#!/usr/bin/env php
     150<?php
     151
     152$f1 = $argv[1];
     153$f2 = $argv[2];
     154if (md5_file($f1) != md5_file($f2)) {
     155    fwrite(STDERR, "$f1 and $f2 don't match\n");
     156    exit(1);
     157}
     158
     159?>
     160}}}
     161
    146162== Testing your validator ==
    147163