diff --git a/CHANGES.txt b/CHANGES.txt
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
 Changelog for Shake
 
+0.11.7
+    #119, test fixes for Linux GHC 7.8
 0.11.6
     #114, run build.sh in the test suite with sh
     #115, fix the test suite on Linux GHC 7.8
diff --git a/Examples/Test/Command.hs b/Examples/Test/Command.hs
--- a/Examples/Test/Command.hs
+++ b/Examples/Test/Command.hs
@@ -48,7 +48,7 @@
     build ["ghc-random"]
     assertContentsInfix (obj "ghc-random") "unrecognised flags: --random"
 
-    crash ["ghc-random2"] ["unrecognised flags: --random"]
+    crash ["ghc-random2"] ["unrecognised flag","--random"]
 
     build ["pwd"]
     assertContentsInfix (obj "pwd") "command"
diff --git a/Examples/Test/Docs.hs b/Examples/Test/Docs.hs
--- a/Examples/Test/Docs.hs
+++ b/Examples/Test/Docs.hs
@@ -52,7 +52,7 @@
             (imports,rest) = partition ("import " `isPrefixOf`) code
         writeFileLines out $
             ["{-# LANGUAGE ConstraintKinds, DeriveDataTypeable, ExtendedDefaultRules, GeneralizedNewtypeDeriving, NoMonomorphismRestriction #-}"
-            ,"{-# OPTIONS_GHC -fno-warn-warnings-deprecations -fno-warn-wrong-do-bind #-}"
+            ,"{-# OPTIONS_GHC -w #-}"
             ,"module " ++ takeBaseName out ++ "() where"
             ,"import Control.Concurrent"
             ,"import Control.Monad"
diff --git a/shake.cabal b/shake.cabal
--- a/shake.cabal
+++ b/shake.cabal
@@ -1,7 +1,7 @@
 cabal-version:      >= 1.10
 build-type:         Simple
 name:               shake
-version:            0.11.6
+version:            0.11.7
 license:            BSD3
 license-file:       LICENSE
 category:           Development
