Browse Source

18938 curl is hard to use correctly

Mike Smith 12 năm trước cách đây
mục cha
commit
6337a095a4

+ 1 - 1
toolset/benchmark/framework_test.py

@@ -524,7 +524,7 @@ class FrameworkTest:
     # Use --stderr - to redirect stderr to stdout so we get
     # Use --stderr - to redirect stderr to stdout so we get
     # error output for sure in stdout.
     # error output for sure in stdout.
     # Use -sS to hide progress bar, but show errors.
     # Use -sS to hide progress bar, but show errors.
-    subprocess.check_call(["curl", "-i", "-", "-sS", url], stderr=err, stdout=out)
+    subprocess.check_call(["curl", "-i", "-sS", url], stderr=err, stdout=out)
     out.flush()
     out.flush()
     err.flush()
     err.flush()
     # HTTP output may not end in a newline, so add that here.
     # HTTP output may not end in a newline, so add that here.