From 0fb5bcecde10ecf9e42febfe7e4a4650dca0cb69 Mon Sep 17 00:00:00 2001
From: Levente Polyak <anthraxx@archlinux.org>
Date: Sat, 23 Dec 2023 22:23:15 +0100
Subject: [PATCH] fix(test): rename bash-bats to bats after package rename

This also fixes the workarounds for bats
---
 test/Dockerfile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/test/Dockerfile b/test/Dockerfile
index 59005af..14e2964 100644
--- a/test/Dockerfile
+++ b/test/Dockerfile
@@ -7,7 +7,7 @@ RUN pacman -Syu --noconfirm --needed \
 		subversion \
 		make \
 		kcov \
-		bash-bats \
+		bats \
 		gettext \
 		grep \
 		tree \
@@ -55,10 +55,6 @@ RUN pacman-key --init && \
 		/srv/ftp/{{core,extra,multilib}{,-testing,-staging},gnome-unstable}/os/x86_64/ && \
 	echo -e "[safe]\n\tdirectory = *\n" > /etc/gitconfig
 
-# TODO: temporary hack to work around bats packaging bug
-RUN sed 's/libexec/lib/g' -i /usr/lib/bats/* && \
-	sed 's/bats-core/bats/g' -i /usr/lib/bats/*
-
 USER tester
 
 RUN sq key generate --userid "Bob Tester <tester@localhost>" --output /build/private.key && \
-- 
GitLab