Skip to content

Commit

Permalink
Updated testsuite for IPv6 inputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf authored and mvidner committed Nov 22, 2012
1 parent 2dad958 commit e33aafc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testsuite/tests/r-check.out
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ Return false
Return true
Return true
Return false
Dump FormatHostnameForFstab
Return [::1]
Return [::1]
Return 127.0.0.1
Return suse.de
6 changes: 6 additions & 0 deletions testsuite/tests/r-check.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@
TEST (``(CheckHostName (IPv6_link_local_nb)), [], nil);
TEST (``(CheckHostName (IPv6_link_local_ib)), [], nil);
TEST (``(CheckHostName (IPv6_link_local_invalid)), [], nil);

DUMP ( "FormatHostnameForFstab");
TEST ( FormatHostnameForFstab( "::1"), [], nil);
TEST ( FormatHostnameForFstab( "[::1]"), [], nil);
TEST ( FormatHostnameForFstab( "127.0.0.1"), [], nil);
TEST ( FormatHostnameForFstab( "suse.de"), [], nil);
}

0 comments on commit e33aafc

Please sign in to comment.