File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
7
7
## [ Unreleased]
8
8
9
+ ### Fixed
10
+ - set-attr: attribute early-start-at-boot is now correctly recognized
9
11
## [ 0.11.0] 2020-04-19
10
12
### Added
11
13
- create-base: automatically call freebsd-update when a base is created (#83 )
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ pot-set-attribute()
121
121
fi
122
122
case $_attr in
123
123
" start-at-boot" |\
124
+ " early-start-at-boot" |\
124
125
" persistent" |\
125
126
" no-rc-script" |\
126
127
" fdescfs" |\
Original file line number Diff line number Diff line change @@ -210,6 +210,18 @@ test_pot_set_attr_026()
210
210
assertEquals " _set_attr arg3" " ON" " $SETATTR_CALL1_ARG3 "
211
211
}
212
212
213
+ test_pot_set_attr_027 ()
214
+ {
215
+ pot-set-attribute -p test-pot -A early-start-at-boot -V ON
216
+ assertEquals " Exit rc" " 0" " $? "
217
+ assertEquals " Help calls" " 0" " $HELP_CALLS "
218
+ assertEquals " Error calls" " 0" " $ERROR_CALLS "
219
+ assertEquals " _is_pot calls" " 1" " $ISPOT_CALLS "
220
+ assertEquals " _set_attr arg1" " test-pot" " $SETATTR_CALL1_ARG1 "
221
+ assertEquals " _set_attr arg2" " early-start-at-boot" " $SETATTR_CALL1_ARG2 "
222
+ assertEquals " _set_attr arg3" " ON" " $SETATTR_CALL1_ARG3 "
223
+ }
224
+
213
225
setUp ()
214
226
{
215
227
common_setUp
You can’t perform that action at this time.
0 commit comments