@@ -5,14 +5,14 @@ gap> tmpdir := Filename( DirectoryTemporary(), "packagemaker-git-tst" );;
55gap> if IsDirectoryPath( tmpdir ) then RemoveDirectoryRecursively( tmpdir ); fi ;
66gap> AUTODOC_CreateDirIfMissing( tmpdir );
77true
8- gap> Assert ( 0 ,
9- > PKGMKR_CommandOutput( Directory( tmpdir ), " git " , [ " init " , " -b " , " main " ] ) <> fail );;
10- gap> Assert ( 0 ,
11- > PKGMKR_CommandOutput( Directory( tmpdir ) , " git " ,
12- > [ " config " , " user.name " , " PackageMaker Tests " ] ) <> fail );;
13- gap> Assert ( 0 ,
14- > PKGMKR_CommandOutput( Directory( tmpdir ) , " git " ,
15- > [ " config " , " user.email " , " tests@example.invalid " ] ) <> fail );;
8+ gap> PKGMKR_CommandOutput( Directory( tmpdir ), " git " , [ " init " , " -b " , " main " ] ) <> fail ;
9+ true
10+ gap> PKGMKR_CommandOutput( Directory( tmpdir ), " git " ,
11+ > [ " config " , " user.name " , " PackageMaker Tests " ] ) <> fail ;
12+ true
13+ gap> PKGMKR_CommandOutput( Directory( tmpdir ), " git " ,
14+ > [ " config " , " user.email " , " tests@example.invalid " ] ) <> fail ;
15+ true
1616gap> PrintTo( Filename( Directory( tmpdir ), " README.md" ), " probe\n " );;
1717gap> CreateGitRepository(
1818> Directory( tmpdir ),
@@ -68,14 +68,14 @@ gap> tmpdir := Filename( DirectoryTemporary(), "packagemaker-git-retry-tst" );;
6868gap> if IsDirectoryPath( tmpdir ) then RemoveDirectoryRecursively( tmpdir ); fi ;
6969gap> AUTODOC_CreateDirIfMissing( tmpdir );
7070true
71- gap> Assert ( 0 ,
72- > PKGMKR_CommandOutput( Directory( tmpdir ), " git " , [ " init " , " -b " , " main " ] ) <> fail );;
73- gap> Assert ( 0 ,
74- > PKGMKR_CommandOutput( Directory( tmpdir ) , " git " ,
75- > [ " config " , " user.name " , " PackageMaker Tests " ] ) <> fail );;
76- gap> Assert ( 0 ,
77- > PKGMKR_CommandOutput( Directory( tmpdir ) , " git " ,
78- > [ " config " , " user.email " , " tests@example.invalid " ] ) <> fail );;
71+ gap> PKGMKR_CommandOutput( Directory( tmpdir ), " git " , [ " init " , " -b " , " main " ] ) <> fail ;
72+ true
73+ gap> PKGMKR_CommandOutput( Directory( tmpdir ), " git " ,
74+ > [ " config " , " user.name " , " PackageMaker Tests " ] ) <> fail ;
75+ true
76+ gap> PKGMKR_CommandOutput( Directory( tmpdir ), " git " ,
77+ > [ " config " , " user.email " , " tests@example.invalid " ] ) <> fail ;
78+ true
7979gap> PrintTo( Filename( Directory( tmpdir ), " README.md" ), " probe\n " );;
8080gap> attempt := 0 ;;
8181gap> CreateGitRepository(
0 commit comments