glx-swap-pixmap-bad: 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

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-bad - from package: piglit

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