gremlin: Adjust tests for i686 and beyond.
Fixes <https://issues.guix.gnu.org/52752>. Reported by Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>. * tests/gremlin.scm ("file-needed/recursive"): Augment the list of vDSO names.
This commit is contained in:
		
							parent
							
								
									d87a1ba6b8
								
							
						
					
					
						commit
						e7ad192de0
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2015, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2015, 2018, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2022 Chris Marusich <cmmarusich@gmail.com>
 | 
					;;; Copyright © 2022 Chris Marusich <cmmarusich@gmail.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
| 
						 | 
					@ -94,8 +94,12 @@
 | 
				
			||||||
               (loop result))))))
 | 
					               (loop result))))))
 | 
				
			||||||
    (define ground-truth
 | 
					    (define ground-truth
 | 
				
			||||||
      (remove (lambda (entry)
 | 
					      (remove (lambda (entry)
 | 
				
			||||||
 | 
					                ;; See vdso(7) for the list of vDSO names across
 | 
				
			||||||
 | 
					                ;; architectures.
 | 
				
			||||||
                (or (string-prefix? "linux-vdso.so" entry)
 | 
					                (or (string-prefix? "linux-vdso.so" entry)
 | 
				
			||||||
                    (string-prefix? "linux-vdso64.so" entry)))
 | 
					                    (string-prefix? "linux-vdso32.so" entry) ;32-bit powerpc
 | 
				
			||||||
 | 
					                    (string-prefix? "linux-vdso64.so" entry) ;64-bit powerpc
 | 
				
			||||||
 | 
					                    (string-prefix? "linux-gate.so" entry))) ;i386
 | 
				
			||||||
              (read-ldd-output pipe)))
 | 
					              (read-ldd-output pipe)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (and (zero? (close-pipe pipe))
 | 
					    (and (zero? (close-pipe pipe))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue