Update runtest.sh
authorWilliam Godbe <wigodbe@microsoft.com>
Sat, 29 Apr 2017 01:54:48 +0000 (18:54 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2017 01:54:48 +0000 (18:54 -0700)
Update if statement

Commit migrated from https://github.com/dotnet/coreclr/commit/149d48812c8be8fcc14c7c211a9977d67e221dcb

src/coreclr/tests/runtest.sh

index 6a5d5ed..8291ad4 100755 (executable)
@@ -407,7 +407,7 @@ function precompile_overlay_assemblies {
                 $overlayDir/crossgen /Platform_Assemblies_Paths $overlayDir $filename 1> $filename.stdout 2>$filename.stderr
                 local exitCode=$?
                 if [[ $exitCode != 0 ]]; then
-                    if [ grep -q -e '0x80131018' $filename.stderr ]; then
+                    if grep -q -e '0x80131018' $filename.stderr; then
                         printf "\n\t$filename is not a managed assembly.\n\n"
                     else
                         echo Unable to precompile $filename.