diff options
| author | Martin Winter <mwinter@opensourcerouting.org> | 2017-06-08 19:14:41 -0700 |
|---|---|---|
| committer | Martin Winter <mwinter@opensourcerouting.org> | 2017-11-17 17:55:30 -0800 |
| commit | 495feb8a41c59f3741eedd1386e40c0f18335294 (patch) | |
| tree | e053a24f62b2c9c9b602dc4a221721633ce841ef /debian/tests | |
| parent | 05f0385849c7265e1d31a282753cd3f1bb91bd7a (diff) | |
debian->debianpkg: Move debian files from debian dir to debianpkg dir.
Debian build systems use debian subdir for building and having a debian
dir in the source package causes issues.
Moving it to debianpkg avoids the issue and allows us to ship debian
package files in the source distribution
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'debian/tests')
| -rw-r--r-- | debian/tests/control | 3 | ||||
| -rw-r--r-- | debian/tests/daemons | 30 |
2 files changed, 0 insertions, 33 deletions
diff --git a/debian/tests/control b/debian/tests/control deleted file mode 100644 index 53fd537e2e..0000000000 --- a/debian/tests/control +++ /dev/null @@ -1,3 +0,0 @@ -Tests: daemons -Depends: frr -Restrictions: needs-root diff --git a/debian/tests/daemons b/debian/tests/daemons deleted file mode 100644 index ac35ecd950..0000000000 --- a/debian/tests/daemons +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -#--------------- -# Testing frr -#--------------- -set -e - -# modify config file to enable all daemons and copy config files -CONFIG_FILE=/etc/frr/daemons -DAEMONS=("zebra" "bgpd" "ospfd" "ospf6d" "ripd" "ripngd" "isisd" "pimd") - -for daemon in "${DAEMONS[@]}" -do - sed -i -e "s/${daemon}=no/${daemon}=yes/g" $CONFIG_FILE - cp /usr/share/doc/frr/examples/${daemon}.conf.sample /etc/frr/${daemon}.conf -done - -# reload frr -/etc/init.d/frr restart > /dev/null 2>&1 - -# check daemons -for daemon in "${DAEMONS[@]}" -do - echo -n "check $daemon - " - if pidof -x $daemon > /dev/null; then - echo "${daemon} OK" - else - echo "ERROR: ${daemon} IS NOT RUNNING" - exit 1 - fi -done |
