blob: 543dfda12ac19cb06a5d97fac1229d32ca5ea3a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
test_description="puppet agent"
. ./sharness.sh
lockfile=/var/lib/puppet/state/agent_disabled.lock
test_expect_success "lock file present" "
test -e ${lockfile}
"
test_expect_success "enable puppet agent" "
puppet agent --enable
"
test_expect_success "lock file removed" "
test_must_fail test -e ${lockfile}
"
test_done
|