Explorar o código

Also test pdf escape sequences

Antialize %!s(int64=15) %!d(string=hai) anos
pai
achega
6bc61d8cad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/test.sh

+ 1 - 1
scripts/test.sh

@@ -182,7 +182,7 @@ function testCookies() {
 }
 }
 
 
 function testTitle() {
 function testTitle() {
-    title="fooæøåおさか おかみ"
+    title="\()fooæøåおさか おかみ"
     wk http://google.com --title "$title" tmp.pdf 2>$LEVEL2 >$LEVEL1
     wk http://google.com --title "$title" tmp.pdf 2>$LEVEL2 >$LEVEL1
     ([ -f tmp.pdf ] && [[ "$(pdfinfo tmp.pdf  | sed -nre 's/Title:[\t ]*//p')" == "$title" ]]) && good $1 || bad $1
     ([ -f tmp.pdf ] && [[ "$(pdfinfo tmp.pdf  | sed -nre 's/Title:[\t ]*//p')" == "$title" ]]) && good $1 || bad $1
 }
 }