Browse Source

tests: fix -a argument in stat and lstat tests

* tests/trace_lstat.in (lstat): Change -a argument from 32 to 31.
* tests/trace_stat.in (stat): Change -a argument from 32 to 30.
* tests/gen_tests.in (lstat): Change -a argument from 32 to 31.
(stat): Change -a argument from 32 to 30.

This fixes Debian bug #929715.
Dmitry V. Levin 2 months ago
parent
commit
f51a9396b5
3 changed files with 4 additions and 4 deletions
  1. 2
    2
      tests/gen_tests.in
  2. 1
    1
      tests/trace_lstat.in
  3. 1
    1
      tests/trace_stat.in

+ 2
- 2
tests/gen_tests.in View File

@@ -221,7 +221,7 @@ lchown32	-a32
221 221
 link
222 222
 linkat
223 223
 lookup_dcookie	-a27
224
-lstat	-a32 -v -P stat.sample -P /dev/full
224
+lstat	-a31 -v -P stat.sample -P /dev/full
225 225
 lstat64	-a32 -v -P stat.sample -P /dev/full
226 226
 madvise	-a33
227 227
 maybe_switch_current_tcp	-a30 -f -e trace=execveat
@@ -509,7 +509,7 @@ socketcall	-a20
509 509
 sockopt-sol_netlink	-e trace=getsockopt,setsockopt
510 510
 sockopt-timestamp	-e trace=recvmsg
511 511
 splice
512
-stat	-a32 -v -P stat.sample -P /dev/full
512
+stat	-a30 -v -P stat.sample -P /dev/full
513 513
 stat64	-a32 -v -P stat.sample -P /dev/full
514 514
 statfs	-a17
515 515
 statfs64	-a23

+ 1
- 1
tests/trace_lstat.in View File

@@ -1,3 +1,3 @@
1
-lstat	-a32
1
+lstat	-a31
2 2
 lstat64	-a32
3 3
 oldlstat	-a32

+ 1
- 1
tests/trace_stat.in View File

@@ -1,3 +1,3 @@
1 1
 oldstat	-a32
2
-stat	-a32
2
+stat	-a30
3 3
 stat64	-a32

Loading…
Cancel
Save