A 60s British movie

a group of cadets take another cadet and put him against the wall and shoot him in a mock execution, they think that the rifles they use had blanks instead of live ammuniciation. the faces of the cadets when they killed were filled with remorse when interviewed by the investigators.