[more album tests ganesh@earth.li**20040423025036] { hunk ./test/regression 4 -::call test12 test13 test14 test15 test16 test17 test18 +::call test12 test13 test14 test15 test16 test17 test18 test19 addfile ./test/test19 hunk ./test/test19 1 - +# Album HTML - links +::run test ! -d scratch +::run mkdir scratch +::run mkdir scratch/{1,2,3,4} + +::sleep 1 +:{write scratch/photopubrc + + + dir scratch/1 + suffix .jpg + + + dir scratch/1 + filename info + makealbum all + + + + + dir scratch/2 + suffix .jpg + + + dir scratch/2 + filename info + makealbum all + + + + + dir scratch/3 + suffix .jpg + + + dir scratch/3 + filename info + makealbum all + + + + + dir scratch/4 + suffix .jpg + + + dir scratch/4 + filename info + makealbum all + + + + + title "Foo" + + include test3/all + + title "Bar" + + include test4/all + + + standard scratch/album.thtml + +:} + + +:{write scratch/1/info +group 1-5 foo +:} +:{write scratch/2/info +group 1-5 bar +:} +:{write scratch/3/info +group 1-5 baz +:} +:{write scratch/4/info +group 1-5 quux +:} + +:{write scratch/album.thtml + + +$description + + +$title + + +:} + +:{init +:{albumhtml album=/all style=/standard +Foo +baz +Bar +quux +:} +:} + +::sleep 1 +:{write scratch/album.thtml + + +$description + + +$title + + +:} + +:{init +:{albumhtml album=/all style=/standard +quux +Bar +baz +Foo +:} +:} + +::sleep 1 +:{write scratch/album.thtml + + +$description + + +$title + + +:} + +:{init +:{albumhtml album=/all style=/standard +Foo +Bar +quux +baz +:} +:} + +::sleep 1 +:{write scratch/album.thtml + + +$description + + +$title + + +:} + +:{init +:{albumhtml album=/all style=/standard +Foo +baz +Bar +quux +:} +:} + +::run rm scratch/{1,2,3,4}/* +::run rmdir scratch/{1,2,3,4} +::run rm scratch/* +::run rmdir scratch }