From 1004595ab52ddf2cf32e02abd25a94250c76602b Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 12 Oct 2024 02:28:10 -0300 Subject: [PATCH] Run 'rake' from bundle --- bin/run-superuser-tests | 2 +- bin/run-unprivileged-tests | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/run-superuser-tests b/bin/run-superuser-tests index 9c65c41..9388581 100755 --- a/bin/run-superuser-tests +++ b/bin/run-superuser-tests @@ -16,7 +16,7 @@ run_test() ## # main if [ "$(id -u)" = "0" ]; then - rake clean clobber compile + bundle exec rake clean clobber compile rm -rf tmp/ for file in test/superuser/*_test.rb; do logfile=".runner.log_$(basename ${file})" diff --git a/bin/run-unprivileged-tests b/bin/run-unprivileged-tests index ff4faa1..eca4ba3 100755 --- a/bin/run-unprivileged-tests +++ b/bin/run-unprivileged-tests @@ -16,7 +16,7 @@ run_test() ## # main if [ "$(id -u)" != "0" ]; then - rake clean clobber compile + bundle exec rake clean clobber compile for file in test/unprivileged/*_test.rb; do logfile=".runner.log_$(basename ${file})" if run_test "${file}" "${logfile}"; then