Permalink
Browse files

[iface] skip loopback test on avahi platforms

  • Loading branch information...
1 parent ef73542 commit e9fb6cf0937a5d99246ffac815e9dec280851d84 @agnat committed Dec 28, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 tests/test_functional.js
View
@@ -360,7 +360,14 @@ exports['resolver sequence'] = function(t) {
exports['local advertisement invisible on external interfaces'] = function(t) {
var st = mdns.tcp('local-ad')
- , exif = someExternalInterface();
+ , exif = someExternalInterface()
+ , avahi = require('../lib/avahi')
+ ;
+ if (avahi) {
+ console.log('[SKIPPED] avahi does not support local only operation');
+ t.done();
+ return;
+ }
if ( ! exif) {
console.log('[SKIPPED] failed to find an external network interface');
t.done();

0 comments on commit e9fb6cf

Please sign in to comment.