Subject: | tests fail the strangeway |
Date: | Mon, 29 Oct 2018 13:24:28 +0000 |
To: | "bug-Win32-NetAdmin [...] rt.cpan.org" <bug-Win32-NetAdmin [...] rt.cpan.org> |
From: | Florian Manschwetus <manschwetus [...] cs-software-gmbh.de> |
Hi,
I tried to setup strawberry perl in docker
C:\Strawberry\cpan\build\Win32-NetAdmin-0.13-2>gmake test TEST_VERBOSE=1
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- NetAdmin.bs blib\arch\auto\Win32\NetAdmin\NetAdmin.bs 644
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t
t/netadmin.t ..
1..15
# Running under perl version 5.028000 for MSWin32
# Current time local: Mon Oct 29 14:19:54 2018
# Current time GMT: Mon Oct 29 13:19:54 2018
# Using Test.pm version 1.31
# Failed test 1 in t/netadmin.t at line 36
not ok 1# t/netadmin.t line 36 is: ok(UserCreate($serverName, $userName, $password, $passwordAge, $privilege,
# Failed test 2 in t/netadmin.t at line 39
# t/netadmin.t line 39 is: ok(UserGetAttributes($serverName, $userName,
Use of uninitialized value $GetpasswordAge in numeric le (<=) at t/netadmin.t line 43.
Use of uninitialized value $GetpasswordAge in numeric ge (>=) at t/netadmin.t line 43.
not ok 2Use of uninitialized value $Getprivilege in numeric eq (==) at t/netadmin.t line 47.
# Test 5 got: "c:\\" (t/netadmin.t at line 53)
# Expected: <UNDEF>
ok 3# t/netadmin.t line 53 is: ok($homeDir, $GethomeDir);
# Test 6 got: "This is a test user" (t/netadmin.t at line 54)
# Expected: <UNDEF>
ok 4# t/netadmin.t line 54 is: ok($comment, $Getcomment);
Use of uninitialized value $Getflags in bitwise and (&) at t/netadmin.t line 55.
# Failed test 7 in t/netadmin.t at line 55
not ok 5# t/netadmin.t line 55 is: ok($flags == ($Getflags&USER_PRIV_MASK));
# Test 8 got: "C:\\" (t/netadmin.t at line 56)
# Expected: <UNDEF>
# t/netadmin.t line 56 is: ok($scriptpath, $Getscriptpath);
not ok 6
not ok 7
not ok 8
ok 9
ok 10
ok 11
# Failed test 12 in t/netadmin.t at line 63
# t/netadmin.t line 63 is: ok(LocalGroupAddUsers($serverName, $groupName, $userName));
not ok 12
# Failed test 13 in t/netadmin.t at line 65
# t/netadmin.t line 65 is: ok(LocalGroupIsMember($serverName, $groupName, $userName));
not ok 13
ok 14
# Failed test 15 in t/netadmin.t at line 69
# t/netadmin.t line 69 is: ok(UserDelete($serverName, $userName));
not ok 15
Failed 9/15 subtests
Test Summary Report
-------------------
t/netadmin.t (Wstat: 0 Tests: 15 Failed: 9)
Failed tests: 1-2, 5-8, 12-13, 15
Files=1, Tests=15, 1 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU)
Result: FAIL
Failed 1/1 test programs. 9/15 subtests failed.
gmake: *** [Makefile:957: test_dynamic] Error 255
Mit freundlichen Grüßen / With kind regards
Florian Manschwetus
E-Mail: manschwetus@cs-software-gmbh.de<mailto:manschwetus@cs-software-gmbh.de>
Tel.: +49-(0)611-8908534
CS Software Concepts and Solutions GmbH
Geschäftsführer / Managing director: Dr. Werner Alexi
Amtsgericht Wiesbaden HRB 10004 (Commercial registry)
Schiersteiner Straße 31
D-65187 Wiesbaden
Germany
Tel.: 0611/8908555
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.