selftest: Fix bug of collecting test RPMs from argument
Currently, TEST_RPMS would be only using the last RPM. Append each RPM path to TEST_RPMs instead, Signed-off-by: Coiby Xu <coxu@redhat.com> Acked-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
		
							parent
							
								
									e5a745ce77
								
							
						
					
					
						commit
						0dedb2c91a
					
				| @ -6,7 +6,7 @@ for _rpm in $@; do | |||||||
| 	if [[ ! -e $_rpm ]]; then | 	if [[ ! -e $_rpm ]]; then | ||||||
| 		perror_exit "'$_rpm' not found" | 		perror_exit "'$_rpm' not found" | ||||||
| 	else | 	else | ||||||
| 		TEST_RPMS=$(realpath "$_rpm") | 		TEST_RPMS="$TEST_RPMS $(realpath "$_rpm")" | ||||||
| 	fi | 	fi | ||||||
| done | done | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user