File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh -x
2
2
3
+ # Prepare a test machine environment for running CFEngine tests
4
+ # Called by the test script when TEST_MACHINE is set
5
+ #
6
+ # Environment Variables:
7
+ # TEST_MACHINE - Type of test machine to prepare (e.g., 'chroot')
8
+ #
9
+ # Description:
10
+ # This script dispatches to the appropriate test machine preparation script
11
+ # based on the TEST_MACHINE environment variable. Currently supports:
12
+ # - chroot: Creates/configures a chroot environment for isolated testing
13
+ #
14
+ # Additional test machine types (VMs, containers, etc.) can be added here.
15
+
16
+ # Load shared functions and environment configuration
3
17
. " $( dirname " $0 " ) " /functions
4
18
. detect-environment
5
19
. compile-options
6
20
21
+ # Dispatch to appropriate test machine preparation script
7
22
case " $TEST_MACHINE " in
8
23
chroot)
24
+ # Prepare a chroot-based test environment
9
25
" $BASEDIR " /buildscripts/build-scripts/prepare-testmachine-chroot
10
26
;;
11
27
* )
You can’t perform that action at this time.
0 commit comments