From a71f2a57b1f2db0042ac2269788c5252dd2129cc Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 2 Aug 2024 17:17:33 +0100 Subject: [PATCH] tests: use env to find bash Hardcoded paths don't work on NixOS. Signed-off-by: Yuxuan Shui --- tests/run_one_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_one_test.sh b/tests/run_one_test.sh index 98314df3..1bc3caec 100755 --- a/tests/run_one_test.sh +++ b/tests/run_one_test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -xe if [ -z $DISPLAY ]; then exec xvfb-run -s "+extension composite" -a $0 $1 $2 $3