Run tests as appropriate group

Need to add "groupadd" and "groupdel" for Alpine. See:

https://github.com/gliderlabs/docker-alpine/issues/326
This commit is contained in:
Philip Prindeville 2023-08-26 10:23:31 -06:00 committed by Olof Hagsand
parent 62401b72d0
commit 3a2ffd4233
16 changed files with 51 additions and 34 deletions

View file

@ -111,13 +111,13 @@ Add yourself and www-data, if you intend to use restconf.
Using useradd and usermod:
```
sudo useradd clicon #
sudo usermod -a -G clicon <user>
sudo usermod -a -G clicon $(whoami)
sudo usermod -a -G clicon www-data
```
Using adduser (eg on busybox):
```
sudo adduser -D -H clicon
sudo adduser <user> clicon
sudo adduser $(whoami) clicon
```
(you may have to restart shell)
@ -289,7 +289,7 @@ Clixon by default finds its configuration file at `/usr/local/etc/clixon.xml`. H
Yes, when you start a clixon program, you can supply the `-o` option to modify the configuration specified in the configuration file. Options that are leafs are overriden, whereas options that are leaf-lists are added to.
Example, add the "usr/local/share/ietf" directory to the list of directories where yang files are searched for:
Example, add the "/usr/local/share/ietf" directory to the list of directories where yang files are searched for:
```
clixon_cli -o CLICON_YANG_DIR=/usr/local/share/ietf
```
@ -670,4 +670,4 @@ translate {
value IBM;
}
```
You can perform translation on any type, not only strings.
You can perform translation on any type, not only strings.