Fix an obvious cut-and-paste error.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116343 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/dotest.py b/test/dotest.py
index abebd93..85948f2 100755
--- a/test/dotest.py
+++ b/test/dotest.py
@@ -564,7 +564,7 @@
                         new_stderr.close()
                     new_stderr = open("%s.%s" % (old_stderr.name, configPostfix), "w")
                     sys.stderr = new_stderr
-                if old_stdout.name != '<stderr>' and config.get('split_stderr'):
+                if old_stdout.name != '<stdout>' and config.get('split_stdout'):
                     if new_stdout:
                         new_stdout.close()
                     new_stdout = open("%s.%s" % (old_stdout.name, configPostfix), "w")