opiproject / sztp

Secure Zero Touch Provisioning (sZTP) in OPI
Apache License 2.0
20 stars 14 forks source link

tests for `daemon` and `run` command #425

Open bhoopesh369 opened 4 months ago

bhoopesh369 commented 4 months ago

see:

  1. https://github.com/opiproject/sztp/blob/main/sztp-agent/pkg/secureagent/run_test.go#L9 ( edit TestAgent_RunCommand )
  2. https://github.com/opiproject/sztp/blob/main/sztp-agent/pkg/secureagent/daemon_test.go ( add a new test TestAgent_RunCommandDaemon )