get the xcattest html man page to build correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ab2d098bf4
commit
371be3a523
@ -82,21 +82,29 @@ B<Note>: Each test case can have more than one I<cmd> sections and each I<cmd> s
|
||||
|
||||
=over 4
|
||||
|
||||
1. To run all test cases related command rpower:
|
||||
=item 1.
|
||||
|
||||
To run all test cases related command rpower:
|
||||
|
||||
xcattest -c /tmp/config -c rpower
|
||||
|
||||
2. To run customized bundle:
|
||||
|
||||
=item 2.
|
||||
|
||||
To run customized bundle:
|
||||
|
||||
xcattest -l > /tmp/custom.bundle
|
||||
Modify custom.bundle
|
||||
xcattest -b custom.bundle
|
||||
|
||||
3. To run specified test cases.
|
||||
|
||||
=item 3.
|
||||
|
||||
To run specified test cases.
|
||||
|
||||
xcattest -t lsdef_t_o_l_z
|
||||
|
||||
4. To add a new case to test chvm. In the example, we assume that the min_mem should not be equal to 16 in the lpar profile of computenode. The case name is chvm_custom. It create a test lpar named testnode firstly, that change the min_mem of the lpar to 16 using chvm, then check if min_mem have changed correctly. At last, the testnode be remove to ensure no garbage produced in the cases.
|
||||
=item 4.
|
||||
|
||||
To add a new case to test chvm. In the example, we assume that the min_mem should not be equal to 16 in the lpar profile of computenode. The case name is chvm_custom. It create a test lpar named testnode firstly, that change the min_mem of the lpar to 16 using chvm, then check if min_mem have changed correctly. At last, the testnode be remove to ensure no garbage produced in the cases.
|
||||
|
||||
add a new test case file in /opt/xcat/share/xcat/tools/autotest/chvm
|
||||
edit filename
|
||||
@ -126,10 +134,10 @@ The xCAT-test testing framework provides some inline functions. The inline funct
|
||||
|
||||
2. B<INC(digit)> To get value of digit+1.
|
||||
|
||||
For example:
|
||||
To run rscan command against the hardware control point of compute node specified in configuration file
|
||||
cmd: rscan __GETNODEATTR($$CN, hcp)__ -z
|
||||
|
||||
For example, to run rscan command against the hardware control point of compute node specified in the configuration file:
|
||||
|
||||
rscan __GETNODEATTR($$CN, hcp)__ -z
|
||||
|
||||
=head1 FILES
|
||||
|
||||
/opt/xcat/bin/xcattest
|
||||
|
@ -41,6 +41,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/tools/autotest
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/man/man1
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/man1
|
||||
|
||||
set +x
|
||||
|
||||
@ -50,14 +51,8 @@ chmod 755 $RPM_BUILD_ROOT/%{prefix}/bin/*
|
||||
# These were built dynamically in the build phase
|
||||
cp share/man/man1/* $RPM_BUILD_ROOT/%{prefix}/share/man/man1
|
||||
chmod 444 $RPM_BUILD_ROOT/%{prefix}/share/man/man1/*
|
||||
|
||||
#cp -r share/doc/* $RPM_BUILD_ROOT/%{prefix}/share/doc
|
||||
#chmod 755 $RPM_BUILD_ROOT/%{prefix}/share/doc/*
|
||||
# These were built dynamically during the build phase
|
||||
# cp share/doc/man1/* $RPM_BUILD_ROOT/%{prefix}/share/doc/man1
|
||||
#chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/man1/*
|
||||
#cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT-autotest
|
||||
#chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT-autotest/*
|
||||
cp share/doc/man1/* $RPM_BUILD_ROOT/%{prefix}/share/doc/man1
|
||||
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/man1/*
|
||||
|
||||
cp -r autotest $RPM_BUILD_ROOT/%{prefix}/share/xcat/tools
|
||||
set -x
|
||||
|
Loading…
Reference in New Issue
Block a user