def test_local_elf_interp(self):

        # Run the install
        self._xpkg_cmd(['install', 'basic', '--tree', self.tree_dir])

        # Make sure the program exists
        basic_bin = os.path.join(self.env_dir, 'bin', 'basic')
        self.assertPathExists(basic_bin)

        # Run our program to make sure it works
        output = util.shellcmd([basic_bin], shell=False, stream=False)

        self.assertEqual('Hello, world!\n', output)

        # Now make sure it has the proper elf interp
        expected = os.path.join(self.env_dir, 'lib', 'ld-linux-xpkg.so')
        interp_path = linux.readelf_interp(basic_bin)
        self.assertEquals(expected, interp_path)
Makes sure we have a custom elf interp that links to the system one.
dataset/ETHPy150Open jlisee/xpkg/python/tests/fulltests.py/LinuxTests.test_local_elf_interp