~xnox/netcfg/fixes

« back to all changes in this revision

Viewing changes to test/tests.mk

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2015-11-26 20:50:52 UTC
  • mfrom: (1129.3.491)
  • Revision ID: mathieu.trudel-lapierre@canonical.com-20151126205052-dqiqevb4rsdetwcf
* Resynchronise with Debian.  Remaining changes:
  - Set default hostname to 'ubuntu'.
  - Set priority for get_domain to high for static configurations.
  - Set priority for get_domain to medium for non-static configurations.
  - Use 'auto <interface>' for all interfaces, dropping allow-hotplug
    which doesn't work with current udev.
  - Set DHCP and DHCPv6 timeout to 30s.
  - Use isc-dhcp-client-udeb on all architectures.
  - Flush all addresses and routes before configuring interfaces
    (LP: #848072)
  - Don't copy /etc/resolv.conf to target if resolvconf is installed.  (We
    already write resolvconf configuration to /etc/network/interfaces.)
  - Add a post-base-install hook to detect resolvconf and copy
    /run/resolvconf/resolv.conf to outside the target so that when /run is
    bind-mounted DNS resolving continues to work. (LP: #926447)
  - Apply patch from Alec Warner making netcfg respect
    netcfg/dhcpv6_timeout and running dhclient in one-shot mode (-1).
    (LP: #917905)
  - Fix FTBFS by checking the return value of fgets and fscanf.
  - Fix nm-conf to generate a valid NetworkManager static configuration
    file.
  - Always allow fe80::/64 for the default gateway. (LP: #1382295)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
OBJECTS = netcfg-common.o wireless.o ethtool-lite.o ipv6.o write_interface.o
11
11
 
12
12
test/run: $(TESTS) $(OBJECTS) test/srunner.o
13
 
        $(CC) -o $@ $^ $(LDOPTS) -lcheck -lm -lpthread -lrt
 
13
        $(CC) -o $@ $^ $(LDOPTS) -lcheck -lsubunit -lm -lpthread -lrt
14
14
 
15
15
test: test/run
16
16
        @echo "----------------------------------------"