more clixon-util rm effects

This commit is contained in:
Olof hagsand 2023-12-02 17:46:43 +01:00
parent a3a7624a11
commit 01fbf764e7
6 changed files with 22 additions and 12 deletions

View file

@ -273,7 +273,7 @@ identityref_add_ns(cxobj *x,
return retval; return retval;
} }
/*! Given a top-level yspec and mountpoint xpath compute a set of /*! Given a top-level yspec and mountpoint xpath compute api-path
* *
* Manipulate top-level and a mountpoint: * Manipulate top-level and a mountpoint:
* YSPEC: yspec0 yspec1 * YSPEC: yspec0 yspec1

View file

@ -91,6 +91,10 @@ test: docker
./cleanup.sh ; ./start.sh # kill (ignore error) and the start it ./cleanup.sh ; ./start.sh # kill (ignore error) and the start it
sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true ./sum.sh' sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true ./sum.sh'
mem: docker
./cleanup.sh ; ./start.sh # kill (ignore error) and the start it
sudo docker exec -t clixon-test bash -c 'sudo apk add --update valgrind; cd /usr/local/bin/test && ./mem.sh'
# Special-purpose memory test for snmp # Special-purpose memory test for snmp
memsnmp: docker memsnmp: docker
./cleanup.sh ; ./start.sh # kill (ignore error) and the start it ./cleanup.sh ; ./start.sh # kill (ignore error) and the start it

View file

@ -10,6 +10,5 @@ $MAKE clean
$MAKE -j10 $MAKE -j10
sudo $MAKE install sudo $MAKE install
(cd example; $MAKE) (cd example; $MAKE)
(cd util; $MAKE)
(cd example; sudo $MAKE install) (cd example; sudo $MAKE install)
(cd util; sudo $MAKE install)

View file

@ -24,9 +24,7 @@ make CLIGEN_LIB=/usr/local/lib/libcligen.a
sudo make install sudo make install
sudo make install-include sudo make install-include
(cd example; make) (cd example; make)
(cd util; make)
(cd example; sudo make install) (cd example; sudo make install)
(cd util; sudo make install)
# Kludge for netconf to touch all gcda files as root # Kludge for netconf to touch all gcda files as root
(cd test; sudo ./test_netconf_hello.sh) || true (cd test; sudo ./test_netconf_hello.sh) || true

View file

@ -72,10 +72,19 @@ $MAKE clean
$MAKE -j10 $MAKE -j10
sudo $MAKE install sudo $MAKE install
(cd example; $MAKE) (cd example; $MAKE)
(cd util; $MAKE)
(cd example; sudo $MAKE install) (cd example; sudo $MAKE install)
(cd util; sudo $MAKE install)
sudo ldconfig sudo ldconfig
# Clixon-util
test -d src/clixon-util || (cd src;git clone https://github.com/clicon/clixon-util.git)
cd src/clixon
git pull origin master
./configure --with-cligen=/ --with-clixon=/
$MAKE clean
$MAKE -j10
sudo $MAKE install
cd test cd test
echo "#!/usr/bin/env bash" > ./site.sh echo "#!/usr/bin/env bash" > ./site.sh
echo "IPv6=true" >> ./site.sh echo "IPv6=true" >> ./site.sh