blob: aae6f4a53527a517e9972cb469e66c49094a82f4 [file] [edit]
REQUIRES: curl || system-windows, http-server
RUN: rm -rf %t
RUN: mkdir -p %t/debuginfod-cache
# We hit the timeout because the Python script delays the response by 2 seconds
RUN: env DEBUGINFOD_TIMEOUT=1 \
RUN: env DEBUGINFOD_CACHE_PATH=%t/debuginfod-cache \
RUN: env DEBUGINFOD_HEADERS_FILE=%S/Inputs/headers \
RUN: %python %S/Inputs/delay_req.py llvm-debuginfod-find --debuginfo 0 | FileCheck %s
CHECK: Build ID 00:
CHECK-SAME: Timeout was reached