glx-swap-pixmap: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/lib64/piglit/bin/glx-swap-pixmap - from package: piglit

You may install the required package with command yum install {package}
Error in other languages:
glx-swap-pixmap: bevel nie gevind nie
glx-swap-pixmap: comandă negăsită
glx-swap-pixmap: comando não encontrado
glx-swap-pixmap: commande introuvable
glx-swap-pixmap: command not found
glx-swap-pixmap: käsku ei ole
glx-swap-pixmap: không tìm thấy lệnh
glx-swap-pixmap: komanda nerasta
glx-swap-pixmap: Kommando nicht gefunden.
glx-swap-pixmap: kommandot finns inte
glx-swap-pixmap: komut yok
glx-swap-pixmap: nie znaleziono polecenia
glx-swap-pixmap: níor aimsíodh an t-ordú
glx-swap-pixmap: no se encontró la orden
glx-swap-pixmap: no s'ha trobat l'ordre
glx-swap-pixmap: opdracht niet gevonden
glx-swap-pixmap: parancs nem található
glx-swap-pixmap: perintah tidak ditemukan
glx-swap-pixmap: príkaz nenájdený
glx-swap-pixmap: příkaz nenalezen
glx-swap-pixmap: команда не найдена
glx-swap-pixmap: командата не е открита
glx-swap-pixmap: 命令找不到
glx-swap-pixmap: コマンドが見つかりません