| # -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| # Copyright (C) 2014 University of Arizona |
| # Author: Yi Huang <ltr120@email.arizona.edu> |
| # See COPYING for copyright and distribution information. |
| class test_nrd(unittest.TestCase): |
| ret = subprocess.call(["./nrd-test.sh"], shell=True) |
| print "Test script return value:", ret |
| 1 : "the name '/test-nrd/A' already exists before ndn-traffic-server starts", |
| 2 : "the name '/test-nrd/B' already exists before ndn-traffic-server starts", |
| 3 : "the name '/test-nrd/A' does not exists after ndn-traffic-server starts", |
| 4 : "the name '/test-nrd/B' does not exists after ndn-traffic-server starts", |
| 5 : "the name '/test-nrd/A' still exists after ndn-traffic-server exit", |
| 6 : "the name '/test-nrd/B' still exists after ndn-traffic-server exit", |