Refactoring & portable Testpfade
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
# Mock für pgrep - steuert Prozess-Erkennung
|
||||
# pgrep -c: gibt Anzahl aus, Exit-Code 0 wenn >0, sonst 1
|
||||
|
||||
MOCK_DIR="/home/tim/Dokumente/Sourcen/Logseq-Installer/test/fixtures"
|
||||
MOCK_DIR="$(cd "$(dirname "$0")/../fixtures" && pwd)"
|
||||
MOCK_STATE_FILE="${MOCK_DIR}/pgrep_state"
|
||||
|
||||
if [[ -f "${MOCK_STATE_FILE}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user