/[jscoverage]/trunk/tests/server-content-types.sh
ViewVC logotype

Diff of /trunk/tests/server-content-types.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 125 by siliconforks, Sat May 31 21:39:39 2008 UTC revision 126 by siliconforks, Mon Jun 2 17:53:43 2008 UTC
# Line 46  Line 46 
46    
47  echo text/html > EXPECTED  echo text/html > EXPECTED
48  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/index.html 2> /dev/null > ACTUAL  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/index.html 2> /dev/null > ACTUAL
49  diff EXPECTED ACTUAL  diff --strip-trailing-cr EXPECTED ACTUAL
50    
51  echo text/plain > EXPECTED  echo text/plain > EXPECTED
52  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/unix.txt 2> /dev/null > ACTUAL  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/unix.txt 2> /dev/null > ACTUAL
53  diff EXPECTED ACTUAL  diff --strip-trailing-cr EXPECTED ACTUAL
54    
55  echo text/plain > EXPECTED  echo text/plain > EXPECTED
56  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/windows.txt 2> /dev/null > ACTUAL  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/windows.txt 2> /dev/null > ACTUAL
57  diff EXPECTED ACTUAL  diff --strip-trailing-cr EXPECTED ACTUAL
58    
59  touch foo  touch foo
60  echo application/octet-stream > EXPECTED  echo application/octet-stream > EXPECTED
61  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo 2> /dev/null > ACTUAL  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo 2> /dev/null > ACTUAL
62  diff EXPECTED ACTUAL  diff --strip-trailing-cr EXPECTED ACTUAL
63    
64  touch foo.bar  touch foo.bar
65  echo application/octet-stream > EXPECTED  echo application/octet-stream > EXPECTED
66  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo.bar 2> /dev/null > ACTUAL  ! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo.bar 2> /dev/null > ACTUAL
67  diff EXPECTED ACTUAL  diff --strip-trailing-cr EXPECTED ACTUAL

Legend:
Removed from v.125  
changed lines
  Added in v.126

  ViewVC Help
Powered by ViewVC 1.1.24