Skip to content

Commit a46158b

Browse files
committed
Make mktemp happy on Alpine Linux
It has fairly strict requirements, see that they are met. Fixes: fd8a6e6 ("tests: test io_uring bpf ops") Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 9b6450e commit a46158b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ elif command -v /usr/sbin/bpftool >/dev/null 2>&1; then
478478
has_bpftool="yes"
479479
fi
480480

481-
tmp_bpf_c=$(mktemp /tmp/test_bpfXXXX.c)
482-
tmp_bpf_o=$(mktemp /tmp/test_bpfXXXX.o)
481+
tmp_bpf_c=$(mktemp /tmp/test_bpf_XXXXXX.c)
482+
tmp_bpf_o=$(mktemp /tmp/test_bpf_XXXXXX.o)
483483

484484
cat > "$tmp_bpf_c" << EOF
485485
int tmp = 0;

0 commit comments

Comments
 (0)