From cfc2694737f65bf0b5fbc2559852493e525beff3 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 25 Oct 2025 15:30:40 -0700 Subject: [PATCH] Add that the file contains test data. Add output of the function for testing. --- setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.sh b/setup.sh index 7db5e11..8c70a3c 100755 --- a/setup.sh +++ b/setup.sh @@ -132,12 +132,15 @@ echo "Installed!" if [[ -n "$create_general" && ! -f "$general_config" ]]; then function print_general_contents { cat <<- EOF + ; TEST DATA enable=true user=test user_desc=Test branch=$branch + ; TEST DATA EOF } + print_general_contents # FORTEST print_general_contents > "$general_config" ls -lh "$general_config" cat "$general_config" @@ -145,12 +148,15 @@ fi if [[ -n "$create_workstation" && ! -f "$workstation_config" ]]; then function print_workstation_contents { cat <<- EOF + ; TEST DATA enable=true coding=true editing=false gaming=false + ; TEST DATA EOF } + print_workstation_contents # FORTEST print_workstation_contents > "$workstation_config" ls -lh "$workstation_config" cat "$workstation_config" @@ -158,9 +164,12 @@ fi if [[ -n "$create_server" && ! -f "$server_config" ]]; then function print_server_contents { cat <<- EOF + ; TEST DATA enable=true + ; TEST DATA EOF } + print_server_contents # FORTEST print_server_contents > "$server_config" ls -lh "$server_config" cat "$server_config"