20 $command =
"wget -qO - --post-file ./test_oneshot.php http://fossology.usa.hp.com/noauth/?mod=agent_nomos_once";
22 $license =
" GPL-2.0";
24 exec($command, $output);
25 $this->assertEquals($license, $output[0]);
33 $command =
"wget -qO - --post-file ./test_oneshot.php http://fossology.usa.hp.com/noauth/?mod=agent_copyright_once";
35 $license =
"copyright (c) 2013-2014 hewlett-packard development company, l.p.";
37 exec($command, $output);
38 $this->assertEquals($license, $output[0]);
test for one-shot nomos/copyright
test_oneshot_nomos()
for oneshot nomos
test_oneshot_copyright()
for oneshot copyright