minor fixes for erst test

1) in the last patch after update makefile rule, I forget to update
   corresponding shell script. And the shell script mode attribute is
   not correct, too
2) update erst-inject tool to provide more friendly prompt

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
diff --git a/tsrc/erst-inj/erst-inject.c b/tsrc/erst-inj/erst-inject.c
index 3610f61..fa3a88b 100644
--- a/tsrc/erst-inj/erst-inject.c
+++ b/tsrc/erst-inj/erst-inject.c
@@ -179,6 +179,7 @@
        ERST_POLL,
        ERST_CLEAR,
        ERST_COUNT,
+       ERST_MAX = 255
 };
 
 void usage()
@@ -198,7 +199,7 @@
 int main(int argc, char *argv[])
 {
        int fd;
-       int todo = ERST_COUNT;
+       int todo = ERST_MAX;
        int opt;
        u64 record_id = 0x12345678;
        u32 record_count;
@@ -243,6 +244,9 @@
        case ERST_COUNT:
                get_record_count(fd, &record_count);
                break;
+       case ERST_MAX:
+               usage();
+               break;
        }
 
        close(fd);
diff --git a/tsrc/erst-inject.sh b/tsrc/erst-inject.sh
old mode 100644
new mode 100755
index c22ff7a..f078993
--- a/tsrc/erst-inject.sh
+++ b/tsrc/erst-inject.sh
@@ -45,7 +45,7 @@
 
 
 ID=0xdeadbeaf
-ERST=./erst-inj/erst-inject
+ERST=./erst-inject
 LOG=./erst.log
 MODSTATUS=0