This repository has been archived on 2024-08-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
package openwrt
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestUciAdd(t *testing.T) {
|
|
|
|
// Return 0 run !
|
|
res := UciAdd("wireless", "test")
|
|
if res.ReturnCode != 0 {
|
|
t.Error(res.Stderr)
|
|
}
|
|
|
|
}
|