(root)/
strace-6.5/
tests-m32/
printpath-umovestr.c
       1  /*
       2   * Test regular printpath/umovestr.
       3   *
       4   * Copyright (c) 2017 Dmitry V. Levin <ldv@strace.io>
       5   * Copyright (c) 2017-2021 The strace developers.
       6   * All rights reserved.
       7   *
       8   * SPDX-License-Identifier: GPL-2.0-or-later
       9   */
      10  
      11  #include "tests.h"
      12  #include "test_ucopy.h"
      13  #include <limits.h>
      14  #include <stdio.h>
      15  
      16  int
      17  main(void)
      18  {
      19  	if (!test_process_vm_readv())
      20  		perror_msg_and_skip("process_vm_readv");
      21  
      22  	test_printpath(PATH_MAX);
      23  
      24  	puts("+++ exited with 0 +++");
      25  	return 0;
      26  }